forked from boostorg/config
Add BOOST_NO_CXX11_EXCECPTION.
Replaces: https://github.com/boostorg/config/pull/285 Fixes https://github.com/boostorg/config/issues/284 See also: https://github.com/boostorg/exception/issues/10
This commit is contained in:
+11
-1
@@ -1,4 +1,4 @@
|
||||
// This file was automatically generated on Sun Apr 21 09:13:03 2019
|
||||
// This file was automatically generated on Fri Aug 23 11:11:12 2019
|
||||
// by libs/config/tools/generate.cpp
|
||||
// Copyright John Maddock 2002-4.
|
||||
// Use, modification and distribution are subject to the
|
||||
@@ -127,6 +127,11 @@ namespace boost_no_cxx11_atomic_smart_ptr = empty_boost;
|
||||
#else
|
||||
namespace boost_no_cxx11_defaulted_moves = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX11_HDR_EXCEPTION
|
||||
#include "boost_no_cxx11_exception.ipp"
|
||||
#else
|
||||
namespace boost_no_cxx11_hdr_exception = empty_boost;
|
||||
#endif
|
||||
#ifndef BOOST_NO_CXX11_FINAL
|
||||
#include "boost_no_cxx11_final.ipp"
|
||||
#else
|
||||
@@ -1301,6 +1306,11 @@ int main( int, char *[] )
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_DEFAULTED_MOVES at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_hdr_exception::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_HDR_EXCEPTION at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
++error_count;
|
||||
}
|
||||
if(0 != boost_no_cxx11_final::test())
|
||||
{
|
||||
std::cerr << "Failed test for BOOST_NO_CXX11_FINAL at: " << __FILE__ << ":" << __LINE__ << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user