Fix C++0x helper macros

[SVN r37178]
This commit is contained in:
Douglas Gregor committed 2007-03-14 09:20:38 +00:00
1 parent 405a113698
commit cce1a4370b
8 files changed
+101 -34

No files matched your search

+6 -4
View File
@@ -92,8 +92,10 @@
// defined by some very early development versions of GCC 4.3; we will
// remove this part of the check in the near future.
# if defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__)
# define BOOST_CXX0X_PREPROCESSOR
# define BOOST_CXX0X_STATIC_ASSERT
# define BOOST_HAS_STATIC_ASSERT
# ifndef __STRICT_ANSI__
# define BOOST_HAS_VARIADIC_TMPL
# endif
# endif
#endif
@@ -104,13 +106,13 @@
// Variadic templates compiler:
// http://www.generic-programming.org/~dgregor/cpp/variadic-templates.html
#ifdef __VARIADIC_TEMPLATES
# define BOOST_CXX0X_VARIADIC_TEMPLATES
# define BOOST_HAS_VARIADIC_TMPL
#endif
// ConceptGCC compiler:
// http://www.generic-programming.org/software/ConceptGCC/
#ifdef __GXX_CONCEPTS__
# define BOOST_CXX0X_CONCEPTS
# define BOOST_HAS_CONCEPTS
# define BOOST_COMPILER "ConceptGCC version " __VERSION__
#endif
+1 -1
View File
@@ -84,7 +84,7 @@
// C++0x features
//
#if __option(rvalue_refs)
# define BOOST_CXX0X_RVALUE_REFERENCES
# define BOOST_HAS_RVALUE_REFS
#endif
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
-11
View File
@@ -38,16 +38,6 @@
# endif
#endif
// BOOST_HAS_LONG_LONG implies BOOST_CXX0X_LONG_LONG, and vice-versa
#if defined(BOOST_HAS_LONG_LONG) || defined(BOOST_CXX0X_LONG_LONG)
# ifndef BOOST_HAS_LONG_LONG
# define BOOST_HAS_LONG_LONG
# endif
# ifndef BOOST_CXX0X_LONG_LONG
# define BOOST_CXX0X_LONG_LONG
# endif
#endif
// GCC 3.x will clean up all of those nasty macro definitions that
// BOOST_NO_CTYPE_FUNCTIONS is intended to help work around, so undefine
// it under GCC 3.x.
@@ -55,7 +45,6 @@
# undef BOOST_NO_CTYPE_FUNCTIONS
#endif
//
// Assume any extensions are in namespace std:: unless stated otherwise:
//