
"Arkadiy Vertleyb" <vertleyb@hotmail.com> wrote
"Bertrand Augereau" <bertrand@eugensystems.com> 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