>> Boost.Config uses _POSIX_VERSION to determine wether sigaction()
>> is available. The presence of _POSIX_VERSION doesn't indicate
>> wether the POSIX API has actually been enabled.
>>
>> If we want to use Boost.Config to take care of this then
>> Boost.Config also has to check wether POSIX has been enabled.
>> This would be a very tedious task. glibc uses a plethora of
>> flags to enable POSIX, other implementations probably will
>> also add some flags.
>
>It would be very tedious to repeat this check in every place that needs to
>rely on POSIX API.
>I think the Boost.Config is the very place to make a fix. Could you submit
>a patch for the compilers you know about?
>Our Boost.Config maintainer will need to varify and admit it in though.
I agree with Gennadiy. The detection code should be concentrated in Boost.Config rather than repeated in multiple libraries.
--Beman
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost