Boost logo

Boost Users :

Subject: Re: [Boost-users] DateTime without serialization
From: Macumber, Daniel (Daniel.Macumber_at_[hidden])
Date: 2014-07-08 14:18:55


Thanks John, BOOST_SERIALIZATION_NO_LIB worked for me. I assume that some include I am using was inadvertently triggering the auto link with serialization even though I was not using that functionality. Thanks for the help!

Dan

-----Original Message-----

Date: Mon, 07 Jul 2014 18:27:00 +0100
From: John Maddock <boost.regex_at_[hidden]>
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] DateTime without serialization
Message-ID: <53BAD864.3090800_at_[hidden]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

> Hello, I am using the DateTime library's to/from string
> functionality but not the DateTime serialization > functionality. However, when I build my program boost > auto linking keeps trying to link against the serialization > library. Is there a way I can build and link against DateTime > without auto linking against serialization? I am using visual > studio 2013 and boost 1.55.

Define BOOST_SERIALIZATION_NO_LIB to disable auto-linking of serialization. However... you should need to #include the date_time serialization code in order to use iostream output?

John.


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