|
Boost : |
From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2006-04-05 18:01:35
"Arkadiy Vertleyb" <vertleyb_at_[hidden]> wrote
> "Bertrand Augereau" <bertrand_at_[hidden]> wrote
>
> > I just wanted to let you know that boost::typeof doesn't work (in today
> > CVS) when included in a precompiled header with recent MSVC, because of
> > a (seemingly common in other boost libs) anonymous-namespace error.
> > I'm waiting for boost::typeof to work like a charm in MSVC8 so that I
> > can ditch the evil-hack MSVC7 typeof implementation and migrate to MSVC8
> :)
>
> I guess the problem happens when you put typeof.hpp in the precompiled
> header, and then trying to register additional types outside this
> precompiled header...
Hmmm....
It looks like it may be possible to workaround the precompiled heades
problem by using "unnamed::boost::typeof" instead of
"boost::typeof::unnamed" (vc7.1 at least seems to handle this much better).
We would have to violate the Boost namespace naming convention though :(
Regards,
Arkadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk