[Boost-bugs] [Boost C++ Libraries] #6669: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #6669: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-09 11:17:34


#6669: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp
---------------------------------------------------+------------------------
 Reporter: Arne Schwabe <arne-boost@…> | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.49.0
 Severity: Problem | Keywords: clang, macos
---------------------------------------------------+------------------------
 {{{clang++ -v
 Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
 Target: x86_64-apple-darwin11.3.0
 Thread model: posix
 }}}

 test.cpp:
 {{{
 #include <boost/lexical_cast.hpp>
 }}}

 {{{
 [12:07]{1}arne_at_pluto:~/tmp/tmp% clang++ -std=c++0x -I/opt/local/include
 test.cpp
 In file included from test.cpp:1:
 /opt/local/include/boost/lexical_cast.hpp:495:13: error: use of undeclared
 identifier 'u'
             BOOST_STATIC_CONSTANT(char16_t, zero = u'0');

 [...]
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6669>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC