This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Turn on -Werror by default
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 8 Jan 2006 17:25:47 -0500
- Subject: Re: [RFA] Turn on -Werror by default
- References: <200601081759.k08HxOxP007121@elgar.sibelius.xs4all.nl>
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