14 Jan
2019
14 Jan
'19
9:05 p.m.
I guess ideally speaking Boost.Config gains a new test testing for this specific compiler parsing bug. But it seems a bit much to ask for this just for Outcome.
One option is to use the Predef checks < https://www.boost.org/doc/libs/release/doc/html/predef/check_utilities.html#predef.check_utilities.using_with_boost_build>. Another option is to implement a check program of your own.
So, stitching together from your linked docs, something like (untested): project : requirements [ requires cxx14_variable_templates cxx14_constexpr ] [ predef-require "BOOST_GCC == 0" or "BOOST_GCC_VERSION >= 60000" ] <define>BOOST_TEST_MODULE=Outcome <library>../../test/build//boost_unit_test_framework ; ??? Niall