diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 396a6055..6cae94ca 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -112,6 +112,7 @@ #define BOOST_NO_NULLPTR #define BOOST_NO_RAW_LITERALS #define BOOST_NO_TEMPLATE_ALIASES +#define BOOST_NO_UNICODE_LITERALS // C++0x features in 4.3.n and later // @@ -149,7 +150,6 @@ # define BOOST_NO_DELETED_FUNCTIONS # define BOOST_NO_INITIALIZER_LISTS # define BOOST_NO_SCOPED_ENUMS -# define BOOST_NO_UNICODE_LITERALS #endif #if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 4) diff --git a/test/all/Jamfile.v2 b/test/all/Jamfile.v2 index 629da93e..4b510a83 100644 --- a/test/all/Jamfile.v2 +++ b/test/all/Jamfile.v2 @@ -1,7 +1,7 @@ # # Regression test Jamfile for boost configuration setup. # *** DO NOT EDIT THIS FILE BY HAND *** -# This file was automatically generated on Sun Aug 02 08:26:00 2009 +# This file was automatically generated on Sun Oct 11 13:04:18 2009 # by libs/config/tools/generate.cpp # Copyright John Maddock. # Use, modification and distribution are subject to the diff --git a/test/boost_no_unicode_literals.ipp b/test/boost_no_unicode_literals.ipp index 247daf49..6c949cfb 100644 --- a/test/boost_no_unicode_literals.ipp +++ b/test/boost_no_unicode_literals.ipp @@ -8,15 +8,14 @@ // MACRO: BOOST_NO_UNICODE_LITERALS // TITLE: C++0x unicode literals unavailable -// DESCRIPTION: The compiler does not support C++0x unicode literals +// DESCRIPTION: The compiler does not support C++0x Unicode literals (N2442) namespace boost_no_unicode_literals { + int test() { - const char* u8 = u8""; - const char16_t* u16 = u""; - const char32_t* u32 = U""; + const char* c8 = u8""; return 0; } diff --git a/test/config_info.cpp b/test/config_info.cpp index 9563f931..3b781432 100644 --- a/test/config_info.cpp +++ b/test/config_info.cpp @@ -1079,6 +1079,7 @@ void print_boost_macros() + // END GENERATED BLOCK PRINT_MACRO(BOOST_INTEL); diff --git a/test/config_test.cpp b/test/config_test.cpp index 98d0ef4f..81aee7c4 100644 --- a/test/config_test.cpp +++ b/test/config_test.cpp @@ -1,4 +1,4 @@ -// This file was automatically generated on Sun Aug 02 08:26:00 2009 +// This file was automatically generated on Sun Oct 11 13:04:18 2009 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // Use, modification and distribution are subject to the