From 6695277f1a8643f8574aeed713ea3bed01d69376 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Tue, 19 May 2009 13:34:04 +0000 Subject: [PATCH] Aways define BOOST_NO_SCOPED_ENUMS until GCC Bugzilla Bug 38064 gets fixed. [SVN r53108] --- include/boost/config/compiler/gcc.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 34a3419c..94653c89 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -109,6 +109,9 @@ #define BOOST_NO_LAMBDAS #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS +// scoped enums have a serious bug in 4.4.0, so define BOOST_NO_SCOPED_ENUMS until it +// gets fixed. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38064 +#define BOOST_NO_SCOPED_ENUMS #define BOOST_NO_TEMPLATE_ALIASES // C++0x features in 4.3.n and later @@ -145,7 +148,7 @@ # define BOOST_NO_DEFAULTED_FUNCTIONS # define BOOST_NO_DELETED_FUNCTIONS # define BOOST_NO_INITIALIZER_LISTS -# define BOOST_NO_SCOPED_ENUMS +# define BOOST_NO_SCOPED_ENUMS # define BOOST_NO_UNICODE_LITERALS #endif