Boost logo

Boost :

From: Jason Shirk (jasonsh_at_[hidden])
Date: 2002-02-25 14:06:55

> -----Original Message-----
> From: williamkempf_at_[hidden] [mailto:williamkempf_at_[hidden]]
> Sent: Tuesday, October 30, 2001 12:42 PM
> To: boost_at_[hidden]
> Subject: [boost] Re: Warning 4786
> --- In boost_at_y..., "Jim.Hyslop" <jim.hyslop_at_l...> wrote:
> > Paul Hollingsworth [SMTP:boost_at_P...] wrote:
> > > I have run into the same problem...
> > Ditto. I usually resort to the "shotgun" approach - insert the
> #pragma
> > warning(disable:4786) indiscriminately until the compiler shuts up.
> Not very
> > efficient, but I don't have time to try to figure out MS's problem.
> That's the approach I've usually taken as well. Unfortunately,
> nothing seems to fix at least one case where I get a warning in
> Boost.Threads. :(
> Bill Kempf

There is one case that it is indeed impossible to suppress the warning.
IIRC, it has something to do with a static or dynamic initialization.

As Peter mentioned, VC7 doesn't have this problem anymore.

Jason Shirk
VC++ Compiler Team

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