Skip to content

Commit c564b75

Browse files
tautschnigDaniel Kroening
authored and
Daniel Kroening
committed
Default C++ language standard on Windows is C++14
While we already configured this in goto-cc, running CBMC with --winx64 or --win32 previously failed to set this.
1 parent 2ee2a57 commit c564b75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/config.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,8 @@ bool configt::set(const cmdlinet &cmdline)
915915
ansi_c.preprocessor=ansi_ct::preprocessort::GCC;
916916
ansi_c.mode=ansi_ct::flavourt::VISUAL_STUDIO;
917917
#endif
918+
919+
cpp.cpp_standard = cppt::cpp_standardt::CPP14;
918920
}
919921
}
920922
else if(os=="macos")

0 commit comments

Comments
 (0)