This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: linux-2.2.1-ac3 and egcs-19990131
- To: Marc dot Espie at liafa1 dot liafa dot jussieu dot fr
- Subject: Re: linux-2.2.1-ac3 and egcs-19990131
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Mon, 08 Feb 1999 22:05:48 -0700
- cc: rth at cygnus dot com, egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199902090037.BAA14320@quatramaran.ens.fr>you write:
> In article <19990208150407.A29197@cygnus.com> you write:
> >Yes, -Winline should probably be implied by -Wall.
>
> NO! Please don't do that. This is going to break (potentially) perfectly
> good code that's using -Wall -Werror.
Marc, if you're relying on -Wall to not change, then you are going to be
disappointed in the long run.
Please read the documentation for -Wall, it specifies that it is a set of
warnings about constructs that "some users consider questionable".
So long as the set of things you consider questionable is in line with everyone
else, then you're OK. But the minute what you consider questionable differs
from what others consider questionable, then you lose.
For this reason, I do not recommend -Wall -Werror. If you want some set of
warnings to be errors, then call them out explicitly.
jeff