This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add -Werror to build_warnings


On Wed, Feb 16, 2005 at 11:21:03AM +1100, Ben Elliston wrote:
> These flags are only used when the user
> explicitly passes --enable-build-warnings

Huh?  I seem to get them by default.

> 	* configure.in (build_warnings): Add -Werror.
> 	* configure: Rebuild.

I like the idea, but I don't think we are quite ready yet.  I still see
quite a few warnings with --enable-targets=all.  You need to compile
with at least gcc-3.4 and gcc-4.0 on 32-bit and 64-bit targets, with
--enable-targets=all.  On the 32-bit target, compile with
--enable-targets=all --enable-64-bit-bfd too, so that you test both
64-bit and 32-bit bfd_vma.  Once you've done that, I'd say we are
probably ready for -Werror in all but gas/.  For gas, you need to
compile for a number of targets, since gas isn't multi-target.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]