forked from boostorg/config
Apply patch from https://svn.boost.org/trac/boost/ticket/9410
This commit is contained in:
@ -165,13 +165,13 @@
|
|||||||
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES
|
||||||
# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
# define BOOST_NO_CXX11_VARIADIC_TEMPLATES
|
||||||
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX
|
||||||
|
# define BOOST_NO_CXX11_DECLTYPE_N3276
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// C++11 features not supported by any versions
|
// C++11 features not supported by any versions
|
||||||
#define BOOST_NO_CXX11_CHAR16_T
|
#define BOOST_NO_CXX11_CHAR16_T
|
||||||
#define BOOST_NO_CXX11_CHAR32_T
|
#define BOOST_NO_CXX11_CHAR32_T
|
||||||
#define BOOST_NO_CXX11_CONSTEXPR
|
#define BOOST_NO_CXX11_CONSTEXPR
|
||||||
#define BOOST_NO_CXX11_DECLTYPE_N3276
|
|
||||||
#define BOOST_NO_CXX11_NOEXCEPT
|
#define BOOST_NO_CXX11_NOEXCEPT
|
||||||
#define BOOST_NO_CXX11_UNICODE_LITERALS
|
#define BOOST_NO_CXX11_UNICODE_LITERALS
|
||||||
#define BOOST_NO_SFINAE_EXPR
|
#define BOOST_NO_SFINAE_EXPR
|
||||||
|
@ -32,6 +32,6 @@
|
|||||||
|
|
||||||
int main( int, char *[] )
|
int main( int, char *[] )
|
||||||
{
|
{
|
||||||
return boost_no_decltype_n3276::test();
|
return boost_no_cxx11_decltype_n3276::test();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,11 +27,11 @@
|
|||||||
#ifndef BOOST_NO_CXX11_DECLTYPE_N3276
|
#ifndef BOOST_NO_CXX11_DECLTYPE_N3276
|
||||||
#include "boost_no_decltype_n3276.ipp"
|
#include "boost_no_decltype_n3276.ipp"
|
||||||
#else
|
#else
|
||||||
namespace boost_no_decltype_n3276 = empty_boost;
|
namespace boost_no_cxx11_decltype_n3276 = empty_boost;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main( int, char *[] )
|
int main( int, char *[] )
|
||||||
{
|
{
|
||||||
return boost_no_decltype_n3276::test();
|
return boost_no_cxx11_decltype_n3276::test();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user