Boost logo

Boost :

Subject: Re: [boost] [Serialization] BOOST_CLASS_EXPORT regression on SunCC
From: Sohail Somani (sohail_at_[hidden])
Date: 2009-02-17 12:43:47


Emil Dotchevski wrote:
> On Tue, Feb 17, 2009 at 7:27 AM, Sohail Somani <sohail_at_[hidden]> wrote:
>> Ok, that is a start. Thanks.
>>
>> Still, why intentionally restrict portability even further when the
>> alternative was not burdensome to begin with? I would have better luck
>> implementing a portable export (the previous version) rather than
>> figuring out hacks for each compiler.
>>
>> I think the export documentation should be modified to say (in big fat
>> bold letters) that it should not be used in portable code.
>
> I think it's better to deprecate BOOST_CLASS_EXPORT altogether.

If the new policy is to only support specific compilers for this
functionality, I would agree with that.

Header ordering is a problem you can work around and still use the
library. Compiler-specific hacks, not really.

-- 
Sohail Somani
http://uint32t.blogspot.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk