From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 647 invoked by alias); 13 Jun 2006 22:06:41 -0000 Received: (qmail 639 invoked by uid 22791); 13 Jun 2006 22:06:39 -0000 X-Spam-Check-By: sourceware.org Received: from mail.gmx.de (HELO mail.gmx.net) (213.165.64.21) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 13 Jun 2006 22:06:37 +0000 Received: (qmail invoked by alias); 13 Jun 2006 22:06:35 -0000 Received: from p5087DD81.dip.t-dialin.net (EHLO burns.wesseling.pontohonk.de) [80.135.221.129] by mail.gmx.net (mp033) with SMTP; 14 Jun 2006 00:06:35 +0200 X-Authenticated: #1174187 From: Christoph Bartoschek To: gcc-help@gcc.gnu.org Subject: Re: How to turn off a warning in a file Date: Tue, 13 Jun 2006 22:06:00 -0000 User-Agent: KMail/1.9.3 References: <20060613112311.44560@gmx.net> In-Reply-To: <20060613112311.44560@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606140006.32476.bartoschek@gmx.de> X-Y-GMX-Trusted: 0 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/msg00117.txt.bz2 Am Dienstag, 13. Juni 2006 13:23 schrieb robbie.doggie@gmx.net: > 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. Is > it possible to turn off this warning for these files? If your third party headers are in a separate directory you can use -isystem instead of -I. This disables most of the warnings for headers from . Christoph