Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-05-11 01:14:46


kauai wrote:
> This code plus the rest will compile, link, and run
> properly in Linux using gcc 3.2.2. (I can get more version
> info if you need, kernel, glibc, etc.)

OK that's what I expect

>
> * In Windows Server 20003 with cl version 13.10.3077 I can
> not compile. I get the same error message I stated
> earlier.

This I don't expect - we test vc 7.0, 7.1, and 8.0 without any problem like
this.

>
> Now the wierd part:
>
> If I remove the
> #include <boost/serialization/export.hpp>
>
> I cannot compile anymore with gcc, as expected. There
> error I get is this:
> ISO C++ forbids declaration of `BOOST_CLASS_EXPORT' with no
> type
>

This is to be expectd

> In Windows not only does it compile, but it links and runs.
> 'runs' meaning there is an .exe file but my serialization
> test code still fails ;)

I can't explain this.

>
> I dont know if these annoying details may help but I just
> thought I'd share.

Thanks for sharing

Robert Ramey


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