Przeglądaj źródła

BUG: Display string not some weird pointer

Andy Cedilnik 22 lat temu
rodzic
commit
b4c62ce59e
1 zmienionych plików z 1 dodań i 1 usunięć
  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());