Boost C++ Libraries: Ticket #6670: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp https://svn.boost.org/trac10/ticket/6670 <pre class="wiki">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 </pre><p> test.cpp: </p> <pre class="wiki">#include &lt;boost/lexical_cast.hpp&gt; </pre><pre class="wiki">[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'); [...] </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6670 Trac 1.4.3 chinux@… Thu, 22 Mar 2012 23:57:50 GMT <link>https://svn.boost.org/trac10/ticket/6670#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6670#comment:1</guid> <description> <p> I also have the exact the problem when upgrading to boost 1.49.0 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 23 Mar 2012 07:27:49 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/6670#comment:2 https://svn.boost.org/trac10/ticket/6670#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">lexical_cast</span> </li> </ul> Ticket Antony Polukhin Sun, 01 Apr 2012 19:08:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6670#comment:3 https://svn.boost.org/trac10/ticket/6670#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77691" title="Fixes #6670 (now using BOOST_NO_UNICODE_LITERALS macro)">[77691]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6670" title="#6670: Bugs: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp (closed: fixed)">#6670</a> (now using BOOST_NO_UNICODE_LITERALS macro) </p> Ticket Antony Polukhin Mon, 02 Apr 2012 16:58:36 GMT <link>https://svn.boost.org/trac10/ticket/6670#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6670#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77721" title="More workarounds for fixed #6670 (disable basic char16_t and char32_t ...">[77721]</a>) More workarounds for fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6670" title="#6670: Bugs: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp (closed: fixed)">#6670</a> (disable basic char16_t and char32_t tests for some compilers, disable optimizations for them) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 03 Apr 2012 18:00:34 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6670#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6670#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77745" title="More workarounds for fixed #6670 (disable more char16_t and char32_t ...">[77745]</a>) More workarounds for fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6670" title="#6670: Bugs: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp (closed: fixed)">#6670</a> (disable more char16_t and char32_t tests for some compilers) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sat, 07 Apr 2012 07:52:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6670#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6670#comment:6</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77804" title="Merge lexical_cast from trunk: * fixed #6717 (now lexical_cast won`t ...">[77804]</a>) Merge lexical_cast from trunk: </p> <ul><li>fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6717" title="#6717: Bugs: Get rid of swprintf (closed: fixed)">#6717</a> (now lexical_cast won`t try to support non confirming swprintf) </li><li>fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6670" title="#6670: Bugs: Apple clang++ -stdc=c++0x breaks on lexical_cast.hpp (closed: fixed)">#6670</a> (now using BOOST_NO_UNICODE_LITERALS macro to detect unicode literals support) </li><li>rewritten Jamfile </li></ul> </description> <category>Ticket</category> </item> </channel> </rss>