boostorg / wave

Boost.org wave module
http://boost.org/libs/wave
21 stars 49 forks source link

Clean up C++11 requirements further #157

Closed jefftrull closed 2 years ago

jefftrull commented 2 years ago

As @Flamefire noticed, subprojects like "test" and "samples" also need C++11 requirements for their builds to pass (or more accurately, not happen) with C++03 compilers. This adds those requirements for the samples.

This also adds an explicit check on the availability of constexpr to the existing deprecation error, so the problem will be more obvious when someone attempts a manual build. It turns out that msvc-12 supports many parts of C++11 but not that one. Going forward we will need to update the check as we use additional C++11 features.