[tools/regression] Borland patch for process_jam_log.cpp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[tools/regression] Borland patch for process_jam_log.cpp

Nicola Musatti
Hallo,
the following patch makes it possible to compile process_jam_log.cpp
with the Borland compilers. In a ternary operator the Borland compiler
doesn't apply the implicit conversin from a [const] char * to a std::string.

Cheers,
Nicola Musatti

Index: process_jam_log.cpp
===================================================================
RCS file: /cvsroot/boost/boost/tools/regression/process_jam_log.cpp,v
retrieving revision 1.38
diff -d -b -u -r1.38 process_jam_log.cpp
--- process_jam_log.cpp 28 Jun 2005 00:24:41 -0000 1.38
+++ process_jam_log.cpp 23 Jan 2006 23:06:22 -0000
@@ -462,7 +462,7 @@
 
         // 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 );
       }
 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|

Re: [tools/regression] Borland patch for process_jam_log.cpp

John Maddock
>> the following patch makes it possible to compile process_jam_log.cpp
>> with the Borland compilers. In a ternary operator the Borland
>> compiler doesn't apply the implicit conversin from a [const] char *
>> to a std::string.

Both this patch and the compiler_status one applied,

Thanks, John.
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost