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 ?
Automatic library linking in boost is done by #including the
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Alex MDC wrote:
Automatic library linking in boost is done by #including the
file. In the date_time library this is done via the
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 :)
Thanks for the information. I defined BOOST_ALL_NO_LIB and now I can build my module without needing to link in the library. It was actually the static library which was being searched for. However there is an overzealous need for this library in date_time even when nothing in it is being used. There is a bunch of macros for turning off the automatic library linking, but finding them on Boost's web page is nearly impossible. However I did find BOOST_ALL_NO_LIB.
Regards, Alex
2008/6/30 Edward Diener
mailto:eldiener@tropicsoft.com>: 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@lists.boost.org mailto:Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
------------------------------------------------------------------------
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Alex MDC
-
Edward Diener