• Luca Boccassi's avatar
    Problem: no automated way to enforce C++98 compatibility · 1402f772
    Luca Boccassi authored
    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.
    1402f772
ci_build.sh 2.45 KB