From: Christoph Bartoschek <bartoschek@gmx.de>
To: gcc-help@gcc.gnu.org
Subject: Re: How to turn off a warning in a file
Date: Tue, 13 Jun 2006 22:06:00 -0000 [thread overview]
Message-ID: <200606140006.32476.bartoschek@gmx.de> (raw)
In-Reply-To: <20060613112311.44560@gmx.net>
Am Dienstag, 13. Juni 2006 13:23 schrieb robbie.doggie@gmx.net:
> Hi,
>
> I'm compiling with compiler option -Wall, which is fine for all my files.
> But I'm also including third party headers which return billions of "
> `class xy' has virtual functions but non-virtual destructor" warnings. Is
> it possible to turn off this warning for these files?
If your third party headers are in a separate directory you can use -isystem
<dir> instead of -I<dir>. This disables most of the warnings for headers
from <dir>.
Christoph
next prev parent reply other threads:[~2006-06-13 22:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-13 11:23 robbie.doggie
2006-06-13 11:33 ` Gabriel Dos Reis
2006-06-16 17:19 ` Paulo J. Matos
2006-06-16 18:46 ` Gabriel Dos Reis
2006-06-13 22:06 ` Christoph Bartoschek [this message]
2006-06-13 13:01 Fwd: Re: " robbie.doggie
2006-06-13 15:38 ` Perry Smith
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=200606140006.32476.bartoschek@gmx.de \
--to=bartoschek@gmx.de \
--cc=gcc-help@gcc.gnu.org \
/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).