This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suppressing specific compiler warnings


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]