Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-08-08 17:48:36


Paul A Bristow <pbristow <at>> writes:

> 2 failure to push'n'pop warning suppression? I've spotted several mistakes -
and worry about others
> confusing users, especially
> C4244. How can we check for this automatically?

We can scan each file for the pragmas
and check whether every #pragma warning(suppress)
is between a #pragma warning push and a pop

I'll look into writing the script and possibly
adding it to inspect.

What pragmas do other compilers use for suppressing warnings?

In Christ,
Steven Watanabe

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