Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56716 - in trunk: boost/config/compiler libs/config/test libs/config/test/all
From: bdawes_at_[hidden]
Date: 2009-10-11 13:19:54


Author: bemandawes
Date: 2009-10-11 13:19:53 EDT (Sun, 11 Oct 2009)
New Revision: 56716
URL: http://svn.boost.org/trac/boost/changeset/56716

Log:
config: define BOOST_NO_UNICODE_LITERALS for all gcc versions - their C++0x web page was wrong; there is no support yet. Also correct test code.
Text files modified:
   trunk/boost/config/compiler/gcc.hpp | 2 +-
   trunk/libs/config/test/all/Jamfile.v2 | 2 +-
   trunk/libs/config/test/boost_no_unicode_literals.ipp | 7 +++----
   trunk/libs/config/test/config_info.cpp | 1 +
   trunk/libs/config/test/config_test.cpp | 2 +-
   5 files changed, 7 insertions(+), 7 deletions(-)

Modified: trunk/boost/config/compiler/gcc.hpp
==============================================================================
--- trunk/boost/config/compiler/gcc.hpp (original)
+++ trunk/boost/config/compiler/gcc.hpp 2009-10-11 13:19:53 EDT (Sun, 11 Oct 2009)
@@ -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)

Modified: trunk/libs/config/test/all/Jamfile.v2
==============================================================================
--- trunk/libs/config/test/all/Jamfile.v2 (original)
+++ trunk/libs/config/test/all/Jamfile.v2 2009-10-11 13:19:53 EDT (Sun, 11 Oct 2009)
@@ -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

Modified: trunk/libs/config/test/boost_no_unicode_literals.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_unicode_literals.ipp (original)
+++ trunk/libs/config/test/boost_no_unicode_literals.ipp 2009-10-11 13:19:53 EDT (Sun, 11 Oct 2009)
@@ -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;
 }
 

Modified: trunk/libs/config/test/config_info.cpp
==============================================================================
--- trunk/libs/config/test/config_info.cpp (original)
+++ trunk/libs/config/test/config_info.cpp 2009-10-11 13:19:53 EDT (Sun, 11 Oct 2009)
@@ -1079,6 +1079,7 @@
 
 
 
+
    // END GENERATED BLOCK
 
    PRINT_MACRO(BOOST_INTEL);

Modified: trunk/libs/config/test/config_test.cpp
==============================================================================
--- trunk/libs/config/test/config_test.cpp (original)
+++ trunk/libs/config/test/config_test.cpp 2009-10-11 13:19:53 EDT (Sun, 11 Oct 2009)
@@ -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


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk