
12 Aug
2005
12 Aug
'05
2:56 p.m.
For example, if BOOST_LIB_TOOLSET is defined as "iw90" and both thread and signals libraries are used in a cpp file, compiler prints out the following:
Linking to lib file: libboost_thread-iw90-mt-s-1_33.lib Linking to lib file: libboost_signals-iw-mt-s-1_33.lib
The problem is caused by BOOST_LIB_TOOLSET being undefined at the end of auto_link.hpp. The second time auto_link.hpp is included (it has no include guards and is meant to be included multiple times) BOOST_LIB_TOOLSET is not defined anymore and a default value will be assigned. Does it really need to be undef'ed?
No it looks like a bug and a hang-up from when we didn't allow the toolset name to be set by the user, I'll change it in cvs. Thanks for the report, John.