Bug 30030 - -Wall -pedantic should be default
Summary: -Wall -pedantic should be default
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: unknown
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-30 16:31 UTC by Niko Efthymiou
Modified: 2012-04-04 11:55 UTC (History)
2 users (show)

See Also:
Host: *
Target: *
Build: *
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niko Efthymiou 2006-11-30 16:31:48 UTC
-Wall -pendatic options warn about a lot of issues that are often programming errors. I would like to sugest reversing the warning policy so that warnings should be explicitly turned off instead of on. The rational behind this is that, the programmer should be warned about possible issues with his code. In case the programmer knows what he is doing he can still disable the undesired warning (but he has to do so explicitly).
Comment 1 Richard Biener 2006-11-30 16:52:39 UTC
As a bug this will be very likely ignore (I'm even tempted to close it as WONTFIX or WORKSFORME).  Please raise policy issues on the appropriate mailinglist (gcc@gcc.gnu.org).
Comment 2 Niko Efthymiou 2006-11-30 17:33:41 UTC
Please close. Will report to mailing list. Thx for the comment.
Comment 3 Andrew Pinski 2006-11-30 18:29:49 UTC
Closing as requested