From: craigp98072 (craigp98072_at_[hidden])
Date: 2002-02-24 17:39:45
Putting the pragma at the very top of the header file(s) should work
(before including any other header files).
--- In boost_at_y..., "rogeeff" <rogeeff_at_m...> wrote:
> --- In boost_at_y..., williamkempf_at_h... wrote:
> > The new Boost.Config stuff tries to eliminate 4786 warnings
> > names truncated to 255 characters) on MSVC++ 6. Unfortunately,
> > doesn't always work. There are a few places in Boost.Threads
> > still generate this warning, and unfortunately I can't find a
> > eliminate them within Boost.Thread's code (no matter where I
> > #pragma warning(disable : 4786) I still receive the warning).
> > been able to vaguely pinpoint this as a "bug" in file depth
> > of the pragma, but not to the point of being able to make use of
> > knowledge to eliminate the warnings. Just curious if anyone
> > any insight into how we can work around this.
> > Bill Kempf
> Latest Windows developer magazine describe relible way to supress
> 4786. Anybody interesting?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk