public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/52863] New: Enable -Wall by default
@ 2012-04-04 11:57 gdr at gcc dot gnu.org
  2012-04-04 12:09 ` [Bug driver/52863] " dominiq at lps dot ens.fr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: gdr at gcc dot gnu.org @ 2012-04-04 11:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52863

             Bug #: 52863
           Summary: Enable -Wall by default
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gdr@gcc.gnu.org


title says all.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/52863] Enable -Wall by default
  2012-04-04 11:57 [Bug driver/52863] New: Enable -Wall by default gdr at gcc dot gnu.org
@ 2012-04-04 12:09 ` dominiq at lps dot ens.fr
  2012-04-04 12:39 ` manu at gcc dot gnu.org
  2012-04-24  3:57 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-04-04 12:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52863

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-04-04 12:09:21 UTC ---
(1) WTF?
(2) Please don't.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/52863] Enable -Wall by default
  2012-04-04 11:57 [Bug driver/52863] New: Enable -Wall by default gdr at gcc dot gnu.org
  2012-04-04 12:09 ` [Bug driver/52863] " dominiq at lps dot ens.fr
@ 2012-04-04 12:39 ` manu at gcc dot gnu.org
  2012-04-24  3:57 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu.org @ 2012-04-04 12:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52863

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-04 12:39:07 UTC ---
Although Clang is getting away with this, there are some very noisy warnings in
GCC's -Wall, like:

-Warray-bounds (only with -O2) -Wsign-compare (only in C++) -Wuninitialized 

For sure, some -Wall warnings should be enabled by default, such as -Wformat, 
-Wformat-security and -Wnonnull (like Ubuntu does already).

Other candidates, in my opinion, are -Wimplicit, -Wcomment and
-Wsequence-point.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug driver/52863] Enable -Wall by default
  2012-04-04 11:57 [Bug driver/52863] New: Enable -Wall by default gdr at gcc dot gnu.org
  2012-04-04 12:09 ` [Bug driver/52863] " dominiq at lps dot ens.fr
  2012-04-04 12:39 ` manu at gcc dot gnu.org
@ 2012-04-24  3:57 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-24  3:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52863

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-24 03:57:17 UTC ---
I think we should not.  I did not write in the thread on the email list because
I was busy at the time.

I have only seen two bug reports asking for it in the last 6 years (this is one
of them).

I think we should spend more time in improving our documentation rather than
enabling -Wall by default.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-04-24  3:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04 11:57 [Bug driver/52863] New: Enable -Wall by default gdr at gcc dot gnu.org
2012-04-04 12:09 ` [Bug driver/52863] " dominiq at lps dot ens.fr
2012-04-04 12:39 ` manu at gcc dot gnu.org
2012-04-24  3:57 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).