forked from boostorg/config
Fix variadic template detection for mainline gcc. Fixes #2943
[SVN r52381]
This commit is contained in:
@@ -125,10 +125,19 @@
|
|||||||
# define BOOST_HAS_DECLTYPE
|
# define BOOST_HAS_DECLTYPE
|
||||||
# define BOOST_HAS_RVALUE_REFS
|
# define BOOST_HAS_RVALUE_REFS
|
||||||
# define BOOST_HAS_STATIC_ASSERT
|
# define BOOST_HAS_STATIC_ASSERT
|
||||||
|
# define BOOST_HAS_VARIADIC_TMPL
|
||||||
#else
|
#else
|
||||||
# define BOOST_NO_DECLTYPE
|
# define BOOST_NO_DECLTYPE
|
||||||
# define BOOST_NO_RVALUE_REFERENCES
|
# define BOOST_NO_RVALUE_REFERENCES
|
||||||
# define BOOST_NO_STATIC_ASSERT
|
# define BOOST_NO_STATIC_ASSERT
|
||||||
|
|
||||||
|
// Variadic templates compiler:
|
||||||
|
// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
|
||||||
|
# ifdef __VARIADIC_TEMPLATES
|
||||||
|
# define BOOST_HAS_VARIADIC_TMPL
|
||||||
|
# else
|
||||||
|
# define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(__GXX_EXPERIMENTAL_CXX0X__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
|
#if !defined(__GXX_EXPERIMENTAL_CXX0X__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
|
||||||
@@ -136,14 +145,6 @@
|
|||||||
# define BOOST_NO_AUTO_DECLARATIONS
|
# define BOOST_NO_AUTO_DECLARATIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Variadic templates compiler:
|
|
||||||
// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
|
|
||||||
#ifdef __VARIADIC_TEMPLATES
|
|
||||||
# define BOOST_HAS_VARIADIC_TMPL
|
|
||||||
#else
|
|
||||||
# define BOOST_NO_VARIADIC_TEMPLATES
|
|
||||||
#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__
|
||||||
|
Reference in New Issue
Block a user