Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp
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@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');
[...]
Change History
(6)
Component: |
None → lexical_cast
|
Owner: |
set to Antony Polukhin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
I also have the exact the problem when upgrading to boost 1.49.0