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

Attachment: signature.asc
Description: Digital signature

Reply via email to