Explorar el Código

BUG: Display string not some weird pointer

Andy Cedilnik hace 22 años
padre
commit
b4c62ce59e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Source/cmCTest.cxx

+ 1 - 1
Source/cmCTest.cxx

@@ -4513,7 +4513,7 @@ int cmCTest::RunCMakeAndTest(std::string* outstring)
     else
       {
       std::cerr << "Building of project failed\n";
-      std::cerr << out << output << "\n";
+      std::cerr << out.str() << output << "\n";
       }
     // return to the original directory
     cmSystemTools::ChangeDirectory(cwd.c_str());