From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16095 invoked by alias); 13 Jun 2006 11:33:29 -0000 Received: (qmail 16084 invoked by uid 22791); 13 Jun 2006 11:33:29 -0000 X-Spam-Check-By: sourceware.org Received: from mail.cs.tamu.edu (HELO pine.cs.tamu.edu) (128.194.138.12) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Jun 2006 11:33:27 +0000 Received: from soliton.cs.tamu.edu (vpn-11.cs.tamu.edu [128.194.150.11]) by pine.cs.tamu.edu (8.12.9/8.12.9) with ESMTP id k5DBXPSt028785; Tue, 13 Jun 2006 06:33:25 -0500 (CDT) Received: by soliton.cs.tamu.edu (Postfix, from userid 1000) id 174B21A942; Tue, 13 Jun 2006 06:33:50 -0500 (CDT) To: robbie.doggie@gmx.net Cc: gcc-help@gcc.gnu.org Subject: Re: How to turn off a warning in a file References: <20060613112311.44560@gmx.net> From: Gabriel Dos Reis In-Reply-To: <20060613112311.44560@gmx.net> Date: Tue, 13 Jun 2006 11:33:00 -0000 Message-ID: <87pshdb881.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/msg00109.txt.bz2 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