Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-10-30 14:23:33

From: <williamkempf_at_[hidden]>
> 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.

I've had success with placing the pragma as a very first line in every .cpp
file. Putting it in headers usually doesn't work.

Peter Dimov
Multi Media Ltd.

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