From: Gabriel Dos Reis <gdr@cs.tamu.edu>
To: pocm@sat.inesc-id.pt
Cc: robbie.doggie@gmx.net, gcc-help@gcc.gnu.org
Subject: Re: How to turn off a warning in a file
Date: Fri, 16 Jun 2006 18:46:00 -0000 [thread overview]
Message-ID: <87hd2llyyz.fsf@soliton.cs.tamu.edu> (raw)
In-Reply-To: <11b141710606161019i623faf75y2d0c5935a8c0b9f1@mail.gmail.com>
"Paulo J. Matos" <pocmatos@gmail.com> writes:
| On 13 Jun 2006 06:33:50 -0500, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
| > robbie.doggie@gmx.net writes:
| >
| > | 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.
| >
| > very annoying warning, isn't it?
| >
| > | Is it possible to turn off this warning for these files?
| >
| > Append -Wno-virtual-dtor.
| >
|
| Not available
It is since ages. There was a missing "-non" from my part. Try
-Wno-non-virtual-dtor
-- Gaby
next prev parent reply other threads:[~2006-06-16 18:46 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 [this message]
2006-06-13 22:06 ` Christoph Bartoschek
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=87hd2llyyz.fsf@soliton.cs.tamu.edu \
--to=gdr@cs.tamu.edu \
--cc=gcc-help@gcc.gnu.org \
--cc=pocm@sat.inesc-id.pt \
--cc=robbie.doggie@gmx.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).