> The philosophy at the moment is:
> 
>       - by default you get warnings that probably indicate errors
>         in the source code, but aren't strictly speaking illegal.
> 
>       - adding -W gets you warnings that indicate (what is generally
>         considered to be) bad programming style.
> 
>       - if you add -Wall, you get all the warnings.
> 
> It's debatable what should and shouldn't go in -W, but I don't think the
> -fwarn-unused-<blah> options should be on by default.

My 2 cents:

-fwarn-unused-<blah> should be in -W

It's bad programming style to cause these warnings, because unused identifiers should 
be given names beginning with underscore, for which warnings should be suppressed 
(according to sec 2.4 of the H98 report).

--KW 8-)
-- 
: Keith Wansbrough, MSc, BSc(Hons) (Auckland) ------------------------:
: PhD Student, Computer Laboratory, University of Cambridge, England. :
:  (and recently of the University of Glasgow, Scotland. [><] )       :
: Native of Antipodean Auckland, New Zealand: 174d47' E, 36d55' S.    :
: http://www.cl.cam.ac.uk/users/kw217/  mailto:[EMAIL PROTECTED]     :
:---------------------------------------------------------------------:

Reply via email to