Merged revisions 52381 via svnmerge from

https://svn.boost.org/svn/boost/trunk

........
  r52381 | danieljames | 2009-04-14 10:03:13 +0100 (Tue, 14 Apr 2009) | 1 line
  
  Fix variadic template detection for mainline gcc. Fixes #2943
........


[SVN r52423]
This commit is contained in:
Daniel James
2009-04-16 17:34:46 +00:00
parent 2e03de9749
commit 628fbc53bd

View File

@ -125,16 +125,11 @@
# define BOOST_HAS_DECLTYPE
# define BOOST_HAS_RVALUE_REFS
# define BOOST_HAS_STATIC_ASSERT
# define BOOST_HAS_VARIADIC_TMPL
#else
# define BOOST_NO_DECLTYPE
# define BOOST_NO_RVALUE_REFERENCES
# 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:
// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
@ -143,6 +138,12 @@
# else
# define BOOST_NO_VARIADIC_TEMPLATES
# 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:
// http://www.generic-programming.org/software/ConceptGCC/