
PS.. If your or Tim could provide the output of : echo "" > empty.cpp ;
clang++ -E -dM empty.cpp | sort ..it would help me find out what's
different from your setups vs. my OSX setup.
Rene.
On Thu, Sep 26, 2013 at 9:41 AM, Rene Rivera
Tim brought the above to my attention a few days ago and I've been trying to figure out what the bug is since then. The key problem seems to be that it's detecting the configuration as being BSD when it should not. It's clearly OSX and the defs from clang-3.2 compiler doesn't define any BSD defs. There is also a problem that on FreeBSD (the one BSD tester we have) BSD is not detected, but FreeBSD is detected.. Which is rather strange combination since the FreeBSD detection also sets the BSD detection. Regardless I'm investigating.. But if anyone else has some insight as to why the confusion is there I would love to hear about it.
Rene.
On Thu, Sep 26, 2013 at 9:08 AM, Vicente J. Botet Escriba < vicente.botet@wanadoo.fr> wrote:
Le 26/09/13 15:43, Vicente J. Botet Escriba a écrit :
Le 26/09/13 15:37, Vicente J. Botet Escriba a écrit :
Hi,
I'm getting this error
clang-darwin.compile.c++ ../../../bin.v2/libs/thread/** build/clang-darwin-3.2x/debug/**link-static/threading-multi/** pthread/thread.o In file included from ../../../libs/thread/src/**pthread/thread.cpp:33: In file included from ../../../boost/lexical_cast.**hpp:156: In file included from ../../../boost/math/special_** functions/sign.hpp:18: In file included from ../../../boost/math/special_** functions/detail/fp_traits.**hpp:27: In file included from ../../../boost/detail/endian.**hpp:9: In file included from ../../../boost/predef/detail/** endian_compat.h:11: ../../../boost/predef/other/**endian.h:61:25: fatal error: 'sys/endian.h' file not found # include
^ On MacOS 10.7.5.
Please could this be fixed?
Is there a test on the regression test using this file?
After more insight, the following path solves the issue.
svn diff Index: other/endian.h ==============================**==============================**======= --- other/endian.h (revision 85924) +++ other/endian.h (working copy) @@ -55,7 +55,7 @@ # include
# else # if BOOST_OS_BSD -# if BOOST_OS_BSD_OPEN +# if defined BOOST_OS_BSD_OPEN || defined BOOST_OS_DRAGONFLY_BSD # include
# else # include Could I commit?
Best,
Vicente
______________________________**_________________ Unsubscribe & other changes: http://lists.boost.org/** mailman/listinfo.cgi/boosthttp://lists.boost.org/mailman/listinfo.cgi/boost
-- -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
-- -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo