clang-3.9 with libc++ on Linux

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

clang-3.9 with libc++ on Linux

Belcourt, Kenneth
Hi,

I’m trying to stand up a build of clang-3.9 using libc++ on Linux, and encountering this issue (looks like a Boost.config issue):

  "clang++" -c -x c++ -Wno-unneeded-internal-declaration -stdlib=libc++ -O0 -g -fno-inline -Wall -g -fPIC -m64 -Wno-unneeded-internal-declaration -DBOOST_ALL_NO_LIB=1 -DBOOST_NO_AUTO_PTR -I".." -I"../boost/geometry/extensions/contrib/ttmath" -I"../libs/geometry/test" -o "/scratch/kbelco/boost_testing/results/boost/bin.v2/libs/geometry/test/formulas/formulas_intersection.test/clang-linux-3.9.0/debug/intersection.o" "../libs/geometry/test/formulas/intersection.cpp"

In file included from ../libs/geometry/test/formulas/intersection.cpp:12:
In file included from ../libs/geometry/test/formulas/test_formula.hpp:15:
In file included from ../libs/geometry/test/geometry_test_common.hpp:18:
In file included from ../boost/config.hpp:44:
../boost/config/select_stdlib_config.hpp:18:12: fatal error: 'cstddef' file not found
#  include <cstddef>
           ^
1 error generated.

Anyone know the macro(s) we need to update in Boost.Config to support clang-3.9 on Linux with libc++?

Noel


_______________________________________________
Boost-Testing mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-testing