public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "John Z. Bohach" <jzb2@aexorsyst.com>
To: gcc-help@gcc.gnu.org
Subject: Re: Where did the warning go?
Date: Wed, 25 Feb 2009 17:16:00 -0000	[thread overview]
Message-ID: <200902250915.30792.jzb2@aexorsyst.com> (raw)
In-Reply-To: <49A56ED7.6010600@ellipticsemi.com>

On Wednesday 25 February 2009 08:16:23 am Tom St Denis wrote:
> Eivind LM wrote:
<...snip...>

I've been reading this thread, and there is an important point that 
hasn't been made yet, or at least I would like to emphasize it if it 
has:

Compiler default behavior changes are _REALLY_ annoying.  Even when its 
done to fix a gcc bug, or for other good reasons, it still causes a lot 
of churn either in fixing Makefiles or fixing source code.

I build custom distributions as well as various other s/w for a living, 
and just upgrading my toolchain from 4.0.2 to 4.2.2 caused almost half 
(of the over 200) purely open-source packages that I build to either 
need a patch or upgrade to a new version...and this is especially true 
with C++ code.

Those clamoring for default behavior changes should consider that many 
(millions, probably) of source packages would likely need modifications 
if/when basic default behaviors change.  And -Wall changes are as basic 
as it gets.

I think it is a legitimate gripe that the warnings with -Wall are not 
set in stone already, and sometime change even now, but the solution is 
certainly not to change it some more.

However, I recognize that people may want a -Weverything flag, and that 
does seem like a reasonable compromise, as that could be used as a 
poor-man's splint or other static-analysis tool.  I happen to agree 
with Tom that lint and such is not a substitute for good programming 
practices, but what the heck...if the gcc developers can be convinced 
to add a -Weverything, why not.  AS LONG AS THE CURRENT DEFAULTS STOP 
CHANGING.

  reply	other threads:[~2009-02-25 17:16 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-25  0:23 Tom St Denis
2009-02-25 13:53 ` Eivind LM
2009-02-25 14:20   ` Tom St Denis
2009-02-25 15:56     ` Eivind LM
2009-02-25 16:16       ` Tom St Denis
2009-02-25 17:16         ` John Z. Bohach [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-13 16:07 Eivind Lyche Melvær
2009-02-13 16:27 ` John (Eljay) Love-Jensen
2009-02-13 17:57   ` Eivind LM
2009-02-14  2:25     ` Ian Lance Taylor
2009-02-20 15:39       ` Eivind LM
2009-02-20 16:21         ` John (Eljay) Love-Jensen
2009-02-23 20:39         ` Ian Lance Taylor
2009-02-24 14:03           ` Eivind LM
2009-02-24 14:13             ` Tom St Denis
2009-02-24 15:10               ` Eivind LM
2009-02-24 18:29                 ` Tom St Denis
2009-02-25  0:07                   ` Eivind LM
2009-02-24 15:43             ` John (Eljay) Love-Jensen
2009-02-24 15:52               ` Kevin P. Fleming
2009-02-24 17:52             ` Ian Lance Taylor
2009-02-24 17:58               ` Harvey Chapman
2009-02-25  0:23                 ` Eivind LM
2009-02-25 12:09                   ` Tom St Denis
2009-02-25 12:25                     ` John (Eljay) Love-Jensen
2009-02-25 13:02                       ` Tom St Denis
2009-02-25 13:17                       ` Andrew Haley
2009-02-25 21:48                       ` Ian Lance Taylor
2009-02-25  0:37               ` Eivind LM

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200902250915.30792.jzb2@aexorsyst.com \
    --to=jzb2@aexorsyst.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).