@@ -64,7 +64,7 @@ Author: Peter Schrammel
6464goto_diff_parse_optionst::goto_diff_parse_optionst (int argc, const char **argv):
6565 parse_options_baset(GOTO_DIFF_OPTIONS, argc, argv),
6666 goto_diff_languagest(cmdline, ui_message_handler),
67- ui_message_handler(cmdline, " GOTO-DIFF " CBMC_VERSION),
67+ ui_message_handler(cmdline, std::string( " GOTO-DIFF " )+ CBMC_VERSION),
6868 languages2(cmdline, ui_message_handler)
6969{
7070}
@@ -75,7 +75,7 @@ ::goto_diff_parse_optionst::goto_diff_parse_optionst(
7575 const std::string &extra_options):
7676 parse_options_baset(GOTO_DIFF_OPTIONS+extra_options, argc, argv),
7777 goto_diff_languagest(cmdline, ui_message_handler),
78- ui_message_handler(cmdline, " GOTO-DIFF " CBMC_VERSION),
78+ ui_message_handler(cmdline, std::string( " GOTO-DIFF " )+ CBMC_VERSION),
7979 languages2(cmdline, ui_message_handler)
8080{
8181}
@@ -243,7 +243,7 @@ int goto_diff_parse_optionst::doit()
243243 //
244244 // Print a banner
245245 //
246- status () << " GOTO-DIFF version " CBMC_VERSION " "
246+ status () << " GOTO-DIFF version " << CBMC_VERSION << " "
247247 << sizeof (void *)*8 << " -bit "
248248 << config.this_architecture () << " "
249249 << config.this_operating_system () << eom;
0 commit comments