Просмотр исходного кода

Borland C++ patches.

[SVN r33185]
John Maddock 20 лет назад
Родитель
Сommit
4e35ad8bd0
2 измененных файлов с 4 добавлено и 4 удалено
  1. 3 3
      tools/regression/compiler_status.cpp
  2. 1 1
      tools/regression/process_jam_log.cpp

+ 3 - 3
tools/regression/compiler_status.cpp

@@ -400,13 +400,13 @@ const fs::path find_bin_path(const string& relative)
                        bool always_show_run_output = false )
   {
     // compile msgs sometimes modified, so make a local copy
-    string compile( (pass && no_warn)
-      ? empty_string :  element_content( db, "compile" ) );
+    string compile( ((pass && no_warn)
+      ? empty_string :  element_content( db, "compile" )) );
 
     const string & link( pass ? empty_string : element_content( db, "link" ) );
     const string & run( (pass && !always_show_run_output)
       ? empty_string : element_content( db, "run" ) );
-    string lib( pass ? empty_string : element_content( db, "lib" ) );
+    string lib( (pass ? empty_string : element_content( db, "lib" )) );
 
     // some compilers output the filename even if there are no errors or
     // warnings; detect this if one line of output and it contains no space.

+ 1 - 1
tools/regression/process_jam_log.cpp

@@ -462,7 +462,7 @@ namespace
 
         // add the "run" stop_message action
         tl.add_action( action_name,
-          result == "succeed" && note() ? "note" : result,
+           result == "succeed" && note() ? std::string("note") : result,
           timestamp, content );
       }
 

粤ICP备19079148号