This is the mail archive of the
mailing list for the binutils project.
Re: [RFC] Make it easy to make --disable-werror the default for binutils
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 20 May 2014 07:02:47 -0700
- Subject: Re: [RFC] Make it easy to make --disable-werror the default for binutils
- Authentication-results: sourceware.org; auth=none
- References: <1400540452-19897-1-git-send-email-brobecker at adacore dot com> <87wqdgtv47 dot fsf at fleche dot redhat dot com>
> Joel> This patch introduces a new file, called development.sh, which
> Joel> just sets a variable called $development. In our development branches
> Joel> (Eg. "master"), it's set to true. But setting it to false would allow
> Joel> us to change the default behavior of various development-related
> Joel> features to be turned off; in this case, it turns off the use of
> Joel> -Werror by default (use --enable-werror to turn it back on).
> I think it would be better to have a single development.sh in the tree
> -- that is, get rid of gdb's separate copy at the same time. This is
> better due to the DRY principle. Also, experience has shown -- remember
> the version debacle -- that unifying these things at the start is
> simpler than unifying them later.
Thanks for the feedback, Tom. That works for me. I'll update the patch
if the binutils maintainers agree to it in principle.