From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14564 invoked by alias); 16 Jun 2006 18:46:51 -0000 Received: (qmail 14503 invoked by uid 22791); 16 Jun 2006 18:46:50 -0000 X-Spam-Check-By: sourceware.org Received: from pine.cs.tamu.edu (HELO pine.cs.tamu.edu) (128.194.138.12) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 Jun 2006 18:46:47 +0000 Received: from soliton.cs.tamu.edu (soliton.cs.tamu.edu [128.194.146.33]) by pine.cs.tamu.edu (8.12.9/8.12.9) with ESMTP id k5GIkjSt005371; Fri, 16 Jun 2006 13:46:45 -0500 (CDT) Received: by soliton.cs.tamu.edu (Postfix, from userid 1000) id CEBA91A942; Fri, 16 Jun 2006 13:47:16 -0500 (CDT) 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 References: <20060613112311.44560@gmx.net> <87pshdb881.fsf@soliton.cs.tamu.edu> <11b141710606161019i623faf75y2d0c5935a8c0b9f1@mail.gmail.com> From: Gabriel Dos Reis In-Reply-To: <11b141710606161019i623faf75y2d0c5935a8c0b9f1@mail.gmail.com> Date: Fri, 16 Jun 2006 18:46:00 -0000 Message-ID: <87hd2llyyz.fsf@soliton.cs.tamu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-06/txt/msg00135.txt.bz2 "Paulo J. Matos" writes: | On 13 Jun 2006 06:33:50 -0500, Gabriel Dos Reis 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