From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: somervi8@telus.net
Cc: gcc-help@gcc.gnu.org
Subject: Re: limiting warning message types
Date: Mon, 19 Dec 2011 18:21:00 -0000 [thread overview]
Message-ID: <CAH6eHdQE7GTAXKNT7ZLaP5wi+aWEL_2BXb7h6okF5WyOBUW28w@mail.gmail.com> (raw)
In-Reply-To: <20740275.1525510.1324312709584.JavaMail.nitido@priv-edtnes92>
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."
prev parent reply other threads:[~2011-12-19 18:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-19 16:38 somervi8
2011-12-19 18:21 ` Jonathan Wakely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH6eHdQE7GTAXKNT7ZLaP5wi+aWEL_2BXb7h6okF5WyOBUW28w@mail.gmail.com \
--to=jwakely.gcc@gmail.com \
--cc=gcc-help@gcc.gnu.org \
--cc=somervi8@telus.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).