Bug#678033: clang++ --std=gnu++11 fails to compile <iostream>
Sami Liedes
sami.liedes at iki.fi
Wed Jun 20 14:55:30 UTC 2012
On Mon, Jun 18, 2012 at 09:45:14PM +0300, Sami Liedes wrote:
> $ clang++ test.cpp -o test -std=gnu++11
[...]
> /usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/type_traits:256:39: error: use of undeclared identifier '__float128'
> struct __is_floating_point_helper<__float128>
> ^
> 1 error generated.
There's a fix around the interwebs that fixes this issue by patching
the libstdc++ headers to #undef _GLIBCXX_USE_FLOAT128 if __clang__ is
defined:
http://old.nabble.com/-google--Hide-all-uses-of-__float128-from-Clang-(issue6195066)-td33821546.html
Sami
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20120620/0767e662/attachment.pgp>
More information about the Pkg-llvm-team
mailing list