Re: [Boost-bugs] [Boost C++ Libraries] #7045: Thread library does not automatically compile date_time

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7045: Thread library does not automatically compile date_time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-19 16:30:01


#7045: Thread library does not automatically compile date_time
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: viboes
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.50.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by viboes):

 I think that I understand where the problem could come from.

 Boost.Thread include a DateTime file that even if it is header only, it is
 using the
 #pragma comment(lib, "libboost_date_time-vc110-mt-s-1_50.lib").

 When Visual studio see this pragma it requires to link with date_time. So,
 in my opinion the fix is related to Boost.DateTime that is including the
 boost/config/auto_link.hpp even for header-only files, isn't it?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7045#comment:33>
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:50:10 UTC