[Boost-bugs] [Boost C++ Libraries] #2507: windows builds auto link nonexistant date_time lib

Subject: [Boost-bugs] [Boost C++ Libraries] #2507: windows builds auto link nonexistant date_time lib
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-11-17 20:32:48


#2507: windows builds auto link nonexistant date_time lib
-------------------------------------------------+--------------------------
 Reporter: Patrick White <patbob_at_[hidden]> | Type: Bugs
   Status: new | Milestone: Boost 1.38.0
Component: None | Version: Boost 1.36.0
 Severity: Problem | Keywords:
-------------------------------------------------+--------------------------
 Boost 1.37.0.

 Windows builds appear to be attempting to autolink to static lib
 libboost_date_time*.lib, which is not compiled. Don't know whether the
 problem is that this lib isn't being compiled, or there's a stray autolink
 to a library that no longer exists. There doesn't appear to be any .cpp
 files in the date_time source hierarchy to be compiled into a lib, so,
 running with that...

 workaround:

 I modifed boost/config/user.hpp to define BOOST_ALL_NO_LIB, then rebuilt
 the libraries and the apps. This is way overkill as it removes autolinks
 for all libs, not just date_time, but heck, I don't like autolink anyway
 :). Program now compiles and doesn't try to link with nonexistant lib, so
 it successfully links and executes.

 This reference most likely came about when I did the 1.33.1 -> 1.37.0 port
 and had to use posix_time where xtime had been used before. Nothing wrong
 with this, just providing the datapoint in case it's important.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2507>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:59 UTC