Boost logo

Boost Users :

Subject: Re: [Boost-users] serialization support for gcc ?
From: Edward Diener (eldiener_at_[hidden])
Date: 2017-02-27 15:36:41


On 2/27/2017 9:26 AM, Alain Miniussi via Boost-users wrote:
> Still, I'm curious: why is serialization the only library using that
> option (on both archives and shared lib) ?
>
> Also, is there syntax to limit the application of:
>
> <toolset>gcc:<cxxflags>"-fvisibility=hidden -fvisibility-inlines-hidden"
>
> starting with a specific gcc version ?

The predef library can be used to limit the application of any Boost
Build properties based on minimum versions.

>
> Cheers
> Alain
>
> On 27/02/2017 11:49, Alain Miniussi via Boost-users wrote:
>> Sorry, I missed one.
>>
>>
>> On 27/02/2017 11:41, Alain Miniussi wrote:
>>> By the way, I get the option even if I comment out that specific line.
>>>
>>> Any idea why ?
>>>
>>> Thanks
>>>
>>>
>>> On 27/02/2017 10:15, Alain Miniussi via Boost-users wrote:
>>>> Hi,
>>>>
>>>> In the serialization jam file (master), I see:
>>>>
>>>> <toolset>gcc:<cxxflags>"-fvisibility=hidden
>>>> -fvisibility-inlines-hidden"
>>>> with no mention of gcc version number.
>>>>
>>>> gcc-3.4.4, for one, does not support that option. Does that mean
>>>> that the serialization library does not support the gcc-3.x serie ?
>>>>
>>>> Thanks
>>>>
>>>> Alain


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net