[date_time] testgreg_serialize_dll

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[date_time] testgreg_serialize_dll

Vladimir Prus

Hi,
at the moment, the above tests fails on pretty much every Windows toolset,
because it can't import symbols from Boost.Serialization and Boost.Date_time

Here's the relevant code:

 [ run gregorian/testgreg_serialize.cpp
   <lib>../build/boost_date_time
   <lib>@boost/libs/serialization/build/boost_serialization
   : : : $(DATE_TIME_DYNAMIC_PROPERTIES)
   : testgreg_serialize_dll ]

It seems wrong to be to use DATE_TIME_DYNAMIC_PROPERTIES (which includes
<define>BOOST_ALL_DYN_LINK and at the same time link to *static* libraries. I
suggest that <lib> in two places above be replaced with <dll>.

Since I don't have msvc around, can somebody test that such change indeed
fixes the problem?

Thanks,
Volodya
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost