Re: limiting warning message types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 December 2011 16:38,  <somervi8@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux