Opened 11 years ago

Closed 10 years ago

#6669 closed Bugs (duplicate)

Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp

Reported by: Arne Schwabe <arne-boost@…> Owned by: Antony Polukhin
Milestone: Boost 1.50.0 Component: lexical_cast
Version: Boost 1.49.0 Severity: Problem
Keywords: clang, macos Cc: antoshkka@…

Description

{{{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 (2)

comment:1 by viboes, 10 years ago

Component: Nonelexical_cast
Owner: set to Antony Polukhin

comment:2 by Antony Polukhin, 10 years ago

Cc: antoshkka@… added
Milestone: To Be DeterminedBoost 1.50.0
Resolution: duplicate
Status: newclosed

Duplicates #6670

Note: See TracTickets for help on using tickets.