Here is a small program:
#include <boost/math/tr1.hpp>
int main() { return 0; }
Which output this:
clang++ -O3 -Wall pb_clang_boost_tr1.cpp -o pb_clang_boost_tr1 -I../../../ -I../../ -I../ -I/usr/local/lib -I/home/jt/DevC++/dev_lasmea/boostl
In file included from pb_clang_boost_tr1.cpp:9:
In file included from boostl/boost/math/tr1.hpp:382:
In file included from boost/math/tools/promotion.hpp:26:
boost/math/tools/config.hpp:277:7: error: unknown type name 'fexcept_t'
fexcept_t m_flags;
^
boost/math/tools/config.hpp:270:24: error: use of undeclared identifier 'FE_ALL_EXCEPT'
feclearexcept(FE_ALL_EXCEPT);
^
2 errors generated.
Now, here is something missing in clang fenv.h or is it boost doign wrong ?
Regards