|
Boost : |
Subject: Re: [boost] [predef] missing file On MacOS 10.7.5.
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2013-09-26 23:53:48
I figured out the problem with the FreeBSD (actually all sub-BSD variants)
detection. So it's now just the BSD bad detection in OSX.
The BSD problem is in git and trunk. I'll wait for some test cycles to
merge those to release.
On Thu, Sep 26, 2013 at 9:41 AM, Rene Rivera <grafikrobot_at_[hidden]> wrote:
> 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_at_[hidden]> 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 <sys/endian.h>
>>>> ^
>>>>
>>>> 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 <endian.h>
>> # else
>> # if BOOST_OS_BSD
>> -# if BOOST_OS_BSD_OPEN
>> +# if defined BOOST_OS_BSD_OPEN || defined
>> BOOST_OS_DRAGONFLY_BSD
>>
>> # include <machine/endian.h>
>> # else
>> # include <sys/endian.h>
>>
>>
>> Could I commit?
>>
>> Best,
>>
>> Vicente
>>
>> ______________________________**_________________
>> Unsubscribe & other changes: http://lists.boost.org/**
>> mailman/listinfo.cgi/boost<http://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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk