This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: linux-2.2.1-ac3 and egcs-19990131



  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


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