mirror of
https://github.com/boostorg/optional.git
synced 2025-07-31 21:14:31 +02:00
attempt fix at gcc 5.2 c++03
This commit is contained in:
@@ -64,6 +64,7 @@ import testing ;
|
||||
[ compile-fail optional_test_fail_io_without_io.cpp ]
|
||||
[ compile-fail optional_test_fail_none_io_without_io.cpp ]
|
||||
[ compile-fail optional_test_fail_convert_assign_of_enums.cpp ]
|
||||
[ run optional_xconfig_HACK_TO_LIST_PREDEFINED_MACROS.cpp ]
|
||||
[ run optional_xconfig_NO_PROPER_ASSIGN_FROM_CONST_INT_pass.cpp ]
|
||||
[ run-fail optional_xconfig_NO_PROPER_ASSIGN_FROM_CONST_INT_fail.cpp ]
|
||||
[ run optional_xconfig_NO_PROPER_CONVERT_FROM_CONST_INT_pass.cpp ]
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
#if (defined BOOST_NO_CXX11_RVALUE_REFERENCES) || (!defined BOOST_OPTIONAL_CONFIG_NO_LEGAL_CONVERT_FROM_REF)
|
||||
|
||||
static_assert(false, "failed as requested");
|
||||
# error "failed as requested"
|
||||
|
||||
#else
|
||||
|
||||
|
Reference in New Issue
Block a user