forked from boostorg/config
Update last checked GCC version to 4.6, and add new C++0x features supported.
[SVN r66585]
This commit is contained in:
@ -148,8 +148,6 @@
|
|||||||
|
|
||||||
// C++0x features not implemented in any GCC version
|
// C++0x features not implemented in any GCC version
|
||||||
//
|
//
|
||||||
#define BOOST_NO_CONSTEXPR
|
|
||||||
#define BOOST_NO_NULLPTR
|
|
||||||
#define BOOST_NO_TEMPLATE_ALIASES
|
#define BOOST_NO_TEMPLATE_ALIASES
|
||||||
|
|
||||||
// C++0x features in 4.3.n and later
|
// C++0x features in 4.3.n and later
|
||||||
@ -211,6 +209,13 @@
|
|||||||
# define BOOST_NO_UNICODE_LITERALS
|
# define BOOST_NO_UNICODE_LITERALS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// C++0x features in 4.5.n and later
|
||||||
|
//
|
||||||
|
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
|
||||||
|
#define BOOST_NO_CONSTEXPR
|
||||||
|
#define BOOST_NO_NULLPTR
|
||||||
|
#endif
|
||||||
|
|
||||||
// ConceptGCC compiler:
|
// ConceptGCC compiler:
|
||||||
// http://www.generic-programming.org/software/ConceptGCC/
|
// http://www.generic-programming.org/software/ConceptGCC/
|
||||||
#ifdef __GXX_CONCEPTS__
|
#ifdef __GXX_CONCEPTS__
|
||||||
@ -231,8 +236,8 @@
|
|||||||
# error "Compiler not configured - please reconfigure"
|
# error "Compiler not configured - please reconfigure"
|
||||||
#endif
|
#endif
|
||||||
//
|
//
|
||||||
// last known and checked version is 4.4 (Pre-release):
|
// last known and checked version is 4.6 (Pre-release):
|
||||||
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 4))
|
#if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 6))
|
||||||
# if defined(BOOST_ASSERT_CONFIG)
|
# if defined(BOOST_ASSERT_CONFIG)
|
||||||
# error "Unknown compiler version - please run the configure tests and report the results"
|
# error "Unknown compiler version - please run the configure tests and report the results"
|
||||||
# else
|
# else
|
||||||
|
Reference in New Issue
Block a user