Skip to content

Commit

Permalink
Add support for OCaml 5.3 when using certain C++ compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Sep 5, 2024
1 parent 072fbd1 commit fa81b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context_flags.ml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let cxxflags =
let flags =
(if (Sys.win32 && Config.ccomp_type = "msvc")
then ["\"/EHsc\""]
else ["-Wall -Wextra -Wno-unused-parameter -x c++"]) @
else ["-Wall -Wextra -Wno-unused-parameter -x c++ -std=c++11"]) @
(ifc useGLPK ["-DUSEGLPK"]) @
(ifc useCOIN ["-DUSECOIN"]) @
(ifc useCLP ["-DUSECLP"]) @
Expand Down

0 comments on commit fa81b5e

Please sign in to comment.