@@ -64,7 +64,7 @@ Author: Peter Schrammel
6464jdiff_parse_optionst::jdiff_parse_optionst (int argc, const char **argv)
6565 : parse_options_baset(JDIFF_OPTIONS, argc, argv),
6666 jdiff_languagest(cmdline, ui_message_handler),
67- ui_message_handler(cmdline, " JDIFF " CBMC_VERSION),
67+ ui_message_handler(cmdline, std::string( " JDIFF " )+ CBMC_VERSION),
6868 languages2(cmdline, ui_message_handler)
6969{
7070}
@@ -75,7 +75,7 @@ ::jdiff_parse_optionst::jdiff_parse_optionst(
7575 const std::string &extra_options)
7676 : parse_options_baset(JDIFF_OPTIONS + extra_options, argc, argv),
7777 jdiff_languagest(cmdline, ui_message_handler),
78- ui_message_handler(cmdline, " JDIFF " CBMC_VERSION),
78+ ui_message_handler(cmdline, std::string( " JDIFF " )+ CBMC_VERSION),
7979 languages2(cmdline, ui_message_handler)
8080{
8181}
@@ -206,7 +206,7 @@ int jdiff_parse_optionst::doit()
206206 //
207207 // Print a banner
208208 //
209- status () << " JDIFF version " CBMC_VERSION " " << sizeof (void *) * 8 << " -bit "
209+ status () << " JDIFF version " << CBMC_VERSION << " " << sizeof (void *) * 8 << " -bit "
210210 << config.this_architecture () << " "
211211 << config.this_operating_system () << eom;
212212
0 commit comments