From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19674 invoked by alias); 8 Jan 2006 22:25:51 -0000 Received: (qmail 19666 invoked by uid 22791); 8 Jan 2006 22:25:50 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sun, 08 Jan 2006 22:25:49 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Eviyx-00018R-3Q; Sun, 08 Jan 2006 17:25:47 -0500 Date: Sun, 08 Jan 2006 22:25:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [RFA] Turn on -Werror by default Message-ID: <20060108222546.GA4147@nevyn.them.org> Mail-Followup-To: Mark Kettenis , gdb-patches@sourceware.org References: <200601081759.k08HxOxP007121@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200601081759.k08HxOxP007121@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00088.txt.bz2 On Sun, Jan 08, 2006 at 06:59:24PM +0100, Mark Kettenis wrote: > A while ago, we basically agreed that this would be a good thing to do > after the release. I tried to steal the code form BFD, but that > didn't really fit in very well in our configure.ac. Anyway, this adds > --enable-werror, defaulting to "yes", so to turn it off you'll > probably want to use --disable-werror. This is similar to what BFD > does, so you can easily disable -Werror for the whole tree. To > disable -Werror for GDB only, you can use > --enable-gdb-build-warnings=,-Wno-error. > > ok? Unless I've missed quite a lot, all Linux builds and targets are still noisy; can we add it but default to disabled for now? Maybe that'll give someone (me?) incentive to finish the cleanup. -- Daniel Jacobowitz CodeSourcery