Boost logo

Boost :

From: Sean Huang (huangsean_at_[hidden])
Date: 2008-02-13 23:15:15


> -----Original Message-----
> From: boost-bounces_at_[hidden] [mailto:boost-
> bounces_at_[hidden]] On Behalf Of Robert Ramey
> Sent: Wednesday, February 13, 2008 6:41 PM
> To: boost_at_[hidden]
> Subject: Re: [boost] [serialization] namespace boost
>
>
> It seems that the complaint is that its applying to code outside the
> namespace boost_132.
>
> Is my understanding of the scope of using directives wrong, or is this
> a compiler error?
As said in the Trac ticket, this is a compiler bug

> Then the question arises as to how it should be addressed. I don't see
> how the workaround for the borland compiler applies here.
I do not know if this is best fix but it solved our problem and it was not
too much effeot. I do not know your original intension for the Borland
compiler #if but it seems Borland has the same namespace issue from looking
at the code -- and that's why I proposed simply extending the #if condition
to VC8 (looks like VC7.1 has the bug too from Johan's report)

> What I
> wanted to avoid was going through the code line by line.
There are only a few places that need the patch (and you already did that
for Borland)

Regards,

Sean


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