Boost logo

Boost :

From: Nicolas LELONG / mgdesign (nico_ml_at_[hidden])
Date: 2004-03-18 13:02:17


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) :

# pragma warning(push)
# pragma warning(disable : 4251 4231 4660)

// code here

#pragma warning(pop)
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.


The whole document is here :

I think I'll have to check soon if the boost.thread classes really don't
cause problems, and perhaps propose a patch



Boost list run by bdawes at, gregod at, cpdaniel at, john at