Boost logo

Boost Testing :

Subject: [Boost-testing] clang-3.9 with libc++ on Linux
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2016-11-13 12:36:42


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 list run by mbergal at meta-comm.com