Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86675 - trunk/boost/config/compiler
From: eldiener_at_[hidden]
Date: 2013-11-13 07:23:33


Author: eldiener
Date: 2013-11-13 07:23:33 EST (Wed, 13 Nov 2013)
New Revision: 86675
URL: http://svn.boost.org/trac/boost/changeset/86675

Log:
Clang using VC++ RTL currently does not support char16_t or char32_t

Text files modified:
   trunk/boost/config/compiler/clang.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/config/compiler/clang.hpp
==============================================================================
--- trunk/boost/config/compiler/clang.hpp Wed Nov 13 07:20:05 2013 (r86674)
+++ trunk/boost/config/compiler/clang.hpp 2013-11-13 07:23:33 EST (Wed, 13 Nov 2013) (r86675)
@@ -68,7 +68,10 @@
 # define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS
 #endif
 
-#if !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L)
+//
+// Currently clang on Windows using VC++ RTL does not support C++11's char16_t or char32_t
+//
+#if defined(_MSC_VER) || !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L)
 # define BOOST_NO_CXX11_CHAR16_T
 # define BOOST_NO_CXX11_CHAR32_T
 #endif


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