This is the mail archive of the gcc-help@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: limiting warning message types


On 19 December 2011 16:38,  <somervi8@telus.net> wrote:
> Hi :
>
> I am having problems limiting the warning messages i receive
> ?from g++. If I use -w with any other -Wwarning option i still get no NO
> ?warning messages of the type I desire. If I don't use -w, I am swamped
> with warning messages i don't want? . Surely there must be a simple way
> to just get a few selected warning messages easily ??

Like most software, how to use GCC is documented in its manual:
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

Which says:
"You can request many specific warnings with options beginning `-W',
for example -Wimplicit to request warnings on implicit declarations.
Each of these specific warning options also has a negative form
beginning `-Wno-' to turn off warnings; for example, -Wno-implicit."


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