This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to turn off a warning in a file
- From: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- To: robbie dot doggie at gmx dot net
- Cc: gcc-help at gcc dot gnu dot org
- Date: 13 Jun 2006 06:33:50 -0500
- Subject: Re: How to turn off a warning in a file
- References: <20060613112311.44560@gmx.net>
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.
-- Gaby