This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Build memmem with -Wno-error.
On Tuesday 31 August 2010 22:22:23, Joel Brobecker wrote:
> > I'm not sure whether this may break the build on older gcc's, but
> > given --disable-werror, it's fine with me to give this a try.
>
> I had a look at the documentation for older versions of GCC, up to
> version 2.95.3, and all manuals say that for every -Wsomething, there
> is the counter-part Wno-something. Unless there was an omission in
> the implementation, I think that the sed adjustment should be fine.
Thanks. I was more concerned with the the fact that the file after
the patch is build with -Werror, and that that particular -W flag may
not exist in such order versions, and/or another flag is necessary to
disable the warning in question. One would assume not though, hence
me being fine with this until proven otherwise. :-)
--
Pedro Alves