forked from boostorg/config
Fix variadic template detection for mainline gcc. Fixes #2943
[SVN r52381]
This commit is contained in:
@@ -125,16 +125,11 @@
|
|||||||
# 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
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(__GXX_EXPERIMENTAL_CXX0X__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
|
|
||||||
# define BOOST_NO_INITIALIZER_LISTS
|
|
||||||
# define BOOST_NO_AUTO_DECLARATIONS
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Variadic templates compiler:
|
// Variadic templates compiler:
|
||||||
// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
|
// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
|
||||||
@@ -143,6 +138,12 @@
|
|||||||
# else
|
# else
|
||||||
# define BOOST_NO_VARIADIC_TEMPLATES
|
# define BOOST_NO_VARIADIC_TEMPLATES
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__GXX_EXPERIMENTAL_CXX0X__) || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4)
|
||||||
|
# define BOOST_NO_INITIALIZER_LISTS
|
||||||
|
# define BOOST_NO_AUTO_DECLARATIONS
|
||||||
|
#endif
|
||||||
|
|
||||||
// ConceptGCC compiler:
|
// ConceptGCC compiler:
|
||||||
// http://www.generic-programming.org/software/ConceptGCC/
|
// http://www.generic-programming.org/software/ConceptGCC/
|
||||||
|
Reference in New Issue
Block a user