This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: osabi.c correctness patch (Was: new build failure)
Andrew Cagney wrote:
>
> >>>>>> "Elena" == Elena Zannoni <ezannoni@redhat.com> writes:
> >
> >
> > Elena> I wonder if we should enable ,-Werror by default on certain
> > Elena> platforms.
> >
> > I was under the impression that the maintainers used it regularly.
> > That's why I enabled it in my builds -- to avoid submitting
> > embarrassing patches in the future :-)
>
> BTW, your warnings had me puzzled. I'm building on 7.3, and wasn't
> seeing these! It turns out that I wasn't using the pre-installed
> compiler :-(
>
> Anyway, yes, maintainers should have -Werror enabled. Unfortunatly, the
> best laid plans can occasionally fall down during the implementation stage.
I wonder if we could arrange some sort of makefile switch
that would be on by default, but turned off by the release
process?