
Maciej, Thanks for your answer,
Some time ago I found (I do not remember where) a list of warnings that are not helpful at all but can be generated when compiling modern libs.
indeed I found a boost document that explicits the warnings to disable (intended for library authors) : <document_quote> #ifdef BOOST_MSVC # pragma warning(push) # pragma warning(disable : 4251 4231 4660) #endif // code here #ifdef BOOST_MSVC #pragma warning(pop) #endif This is safe provided that there are no dependencies that are (template) classes with non-constant static data members, these really do need exporting, otherwise there will be multiple copies of the static data members in the program, and that's really really bad. </document_quote> The whole document is here : http://www.boost.org/more/separate_compilation.html I think I'll have to check soon if the boost.thread classes really don't cause problems, and perhaps propose a patch Thanks, Nicolas