Suppressing specific compiler warnings
Andrew Pinski
pinskia@physics.uc.edu
Thu May 27 21:11:00 GMT 2004
> GCC has a few warning flags, such as -Weffc++, whose utility is
> strongly dependent on the style the code is written in, and a few
> others, such as -Wunitialized, which are usually desireable, but
> sometimes need to be turned off when one has an unusual need, such
> as avoid unecessary initialization of a multi-megabyte array which
> is going to be filled with input.
But -Wuninitialized does not warn for arrays. Also I was talking about
turning off warnings in the source it self rather than by flags.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list