Boost logo

Boost :

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

--craig

--- 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
(Debug
> > names truncated to 255 characters) on MSVC++ 6. Unfortunately,
it
> > doesn't always work. There are a few places in Boost.Threads
that
> > still generate this warning, and unfortunately I can't find a
way
> to
> > eliminate them within Boost.Thread's code (no matter where I
place
> a
> > #pragma warning(disable : 4786) I still receive the warning).
I've
> > been able to vaguely pinpoint this as a "bug" in file depth
> handling
> > of the pragma, but not to the point of being able to make use of
> the
> > knowledge to eliminate the warnings. Just curious if anyone
else
> has
> > any insight into how we can work around this.
> >
> > Bill Kempf
>
> Latest Windows developer magazine describe relible way to supress
> 4786. Anybody interesting?
>
> Gennadiy.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk