Re: How to turn off a warning in a file

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

 



"Paulo J. Matos" <pocmatos@xxxxxxxxx> writes:

| On 13 Jun 2006 06:33:50 -0500, Gabriel Dos Reis <gdr@xxxxxxxxxxx> wrote:
| > robbie.doggie@xxxxxxx 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

[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