Merge branch 'foonathan:main' into main
This commit is contained in:
commit
c125883083
6 changed files with 161 additions and 11 deletions
|
|
@ -310,6 +310,8 @@ try
|
|||
config.set_flags(cppast::cpp_standard::cpp_2a, flags);
|
||||
else if (options["std"].as<std::string>() == "c++20")
|
||||
config.set_flags(cppast::cpp_standard::cpp_20, flags);
|
||||
else if (options["std"].as<std::string>() == "c++2b")
|
||||
config.set_flags(cppast::cpp_standard::cpp_2b, flags);
|
||||
else
|
||||
{
|
||||
print_error("invalid value '" + options["std"].as<std::string>() + "' for std flag");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue