Boost logo

Boost Users :

From: Alex MDC (alex.mdc_at_[hidden])
Date: 2008-06-29 20:56:29


Automatic library linking in boost is done by #including the
<boost/config/auto_link.hpp> file.

In the date_time library this is done via the
<boost/date_time/compiler_config.hpp> file.

Have a search through the date_time tree for references to this
compiler_config.hpp file (there's a whole bunch of them), and you can work
where it is being included.

As for the WHY - it looks like the .lib file is needed for some posix_time
and gregorian functionality. I'm not too familiar with the lib so that's all
I can tell for now :)

Regards,
Alex

2008/6/30 Edward Diener <eldiener_at_[hidden]>:

> I used a minimum set of functions in date_time in my VC9 code, but it
> appears to pull in the date/time DLL by asking for
> libboost_date_time-vc90-mt-gd-1_35.lib. I can not see where this is being
> generated but from looking at boost_date_time-vc90-mt-gd-1_35.dll I doubt I
> am using the functionality in it.
>
> Does anybody know why it is required ?
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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