Problem: no automated way to enforce C++98 compatibility
Solution: if the compiler supports it, pass C++98-compat flags. Currently Clang supports this flag but GCC does not. Add a new flag to enable it, as building with C++98-compat but also with -std=gnu++11 will cause a lot of warnings due to the backward compat ifdefs. Add a CI job to run it and ensure we don't break compatibility.
Showing
Please
register
or
sign in
to comment