Boost logo

Boost Users :

Subject: Re: [Boost-users] Error: guid_defined is not templateBOOST_CLASS_EXPORT_GUID
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-05-10 01:57:06


Jari wrote:
> Hi
> I am using boost serialization and it was working fine (save load
> works) but then I tried using BOOST_CLASS_EXPORT_GUID and get weird
> error.
>
> The line that gives the error is this:
>
> BOOST_CLASS_EXPORT_GUID( Bakery, "Bakery")
>
>
> (I put the code in Cpp to avoid any problems with headers.)
>
>
> And this is the full Visual studio express 2010 error:
>
> 2>E:\boost_1_46_1\boost/archive/detail/check.hpp(162): error C2338:
> typex::value

...

what does the code look like at line 162 of check.hpp ?

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