At some point not too long ago I was able to build with Clang. It was
an older version though. Now I get an error when building boost
"error: use of undeclared identifier" (see more output at the bottom).
Is this something that should be fixed?

$ clang --version
Debian clang version 3.2-7ubuntu1 (tags/RELEASE_32/final) (based on LLVM 3.2)
Target: x86_64-pc-linux-gnu
Thread model: posix
$

[ 11%] Building CXX object
boost/libs/regex/CMakeFiles/boost_regex.dir/src/cpp_regex_traits.cpp.o
cd /home/vbox/lyxbuilds/master-clang/CMakeBuild/boost/libs/regex &&
/usr/bin/clang++    -Wall -Wunused-parameter -std=gnu++0x
-fno-strict-aliasing  -Wall -Wunused-parameter -std=gnu++0x
-fno-strict-aliasing -O0 -g3 -D_DEBUG
-I/home/vbox/lyxbuilds/master-clang/CMakeBuild
-I/home/vbox/lyxbuilds/master-clang/repo/src -I/usr/include/enchant
-I/home/vbox/lyxbuilds/master-clang/repo/boost
-DBOOST_USER_CONFIG="<config.h>" -o
CMakeFiles/boost_regex.dir/src/cpp_regex_traits.cpp.o -c
/home/vbox/lyxbuilds/master-clang/repo/boost/libs/regex/src/cpp_regex_traits.cpp
In file included from
/home/vbox/lyxbuilds/master-clang/repo/boost/libs/regex/src/cpp_regex_traits.cpp:20:
In file included from
/home/vbox/lyxbuilds/master-clang/repo/boost/boost/config.hpp:40:
In file included from
/home/vbox/lyxbuilds/master-clang/repo/boost/boost/config/select_stdlib_config.hpp:37:
In file included from
/home/vbox/lyxbuilds/master-clang/repo/boost/boost/config/no_tr1/utility.hpp:21:
In file included from
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/utility:69:
In file included from
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_pair.h:59:
In file included from
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:57:
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/type_traits:268:39:
error: use of undeclared identifier '__float128'
    struct __is_floating_point_helper<__float128>
                                      ^
1 error generated.
make[2]: *** 
[boost/libs/regex/CMakeFiles/boost_regex.dir/src/cpp_regex_traits.cpp.o]
Error 1

Reply via email to