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


AMDG

Paul A Bristow <pbristow <at> hetp.u-net.com> 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