This is the mail archive of the gcc@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]
Other format: [Raw text]

Rename -W to -Wextra ?


This is mentioned on the "beginning GCC hackers" projects list, and since
a) I fall into that category, and b) I just had to explain the whole
-Wall-isn't-really-ALL-but-W-adds-more thing to a colleague, I thought
I'd knock this off.

(I've been finding all the things that -W controls right now, and will
update the manual.  I'll probably need some help coming up with example
code that triggers the warning.)


So, here's a proposal just to generate dicussion:

-  that the new name be '-Wextra'
-  for 3.2, recognize both -Wextra and -W.  If -W is used, warn that it
   has been renamed and will be removed...
-  ...in GCC 3.3 or 3.4, -W goes away.  Whatever version we decide, include
   that number in the warning.

Thoughts?


Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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