For your information I also get these warnings when building using bjam. As you mention below - ignoring the warnings seems OK in my code (but it is simple stuff).
Is it possible to create a static library? I suspect that the defines prevent this. This was possible in version 1.29. Obviously this is not for the monitor but when not using the monitor it would be nice to have a static library to link in. Then I don't have to worry about making sure the dll is present. Andrew ___________________________________________ Andrew J. P. Maclean Centre for Autonomous Systems The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.cas.edu.au/ ___________________________________________ -----Original Message----- From: William E. Kempf [mailto:[EMAIL PROTECTED] Sent: Wednesday, 26 March 2003 03:29 To: [EMAIL PROTECTED] Subject: Re: [boost] VC7/Threads Warnings vc said: > As I am having the same problem, I looked a little to the bjam settings, > and it seems that, at least when building with VC7.x, the -Wx (warning > level) option is > not set, that is why probably with bjam these warnings are not seen ... Hmm... this surprised me. Mr. Maclean indicated the warnings were level 1 _and_ 2. Builds with bjam do report errors, so the warning level can't be 0. MSDN indicates "Level 2 is the default warning level at the command line." So I assumed that it must be an RTL issue causing the warnings for him. However, experimenting with 'bjam -sTOOLS=vc7 -sBUILD="<vc7><*><cxxflags>-W2' does indeed produce the warnings in question. So it appears that MSDN is wrong, and that level 1 is selected if none is supplied? I plan to bump the level up in my own set of bjam tool sets. As for the warnings themselves... I'm still doing more research just to be 100% sure, but everything I've found thus far indicates you can ignore these warnings as long as you link against the same RTL in both the Boost.Threads DLL and the application. After I verify this, I'll remove the warnings through the use of pragmas. -- William E. Kempf _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost