public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: Robert Lipe <robertlipe@usa.net>
Cc: <gcc@gcc.gnu.org>
Subject: Re: "introduce no new bootstrap warning" criteria.  was: Loop ivdebugging patch
Date: Fri, 12 Jan 2001 06:13:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.30.0101121405040.14788-100000@kern.srcf.societies.cam.ac.uk> (raw)
In-Reply-To: <20010112075537.A8978@rjlhome.sco.com>

On Fri, 12 Jan 2001, Robert Lipe wrote:

> Is it time, in the name of quality/damage control in this project, to
> make it an acceptance criteria for any commit that it introduce no new
> warnings?

 ... unless the point of the patch is to improve GCC's warnings, and this
causes previously undetected problems in GCC to be diagnosed.

What happened to the idea of a pragma to mark particular warnings as
expected in code - whether globally, scoped with push/pop, or for a
particular line of code only?  (With the preferred design from previous
discussions being, I think, a regular expression describing the expected
English language warning text, with an unresolved issue over whether the
expression should also be matched against the local language text.)  This
way, the spurious warnings that can't readily be fixed (e.g. macro strcmp
used without args on glibc systems - a -Wtraditional warning, but
presumably no system for which it is relevant has the strcmp function as a
macro) can be removed from the build.

See e.g. <URL: http://gcc.gnu.org/ml/gcc/2000-06/msg00639.html >.

-- 
Joseph S. Myers
jsm28@cam.ac.uk

  reply	other threads:[~2001-01-12  6:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <14941.2331.949024.263257@taniwha.paradise.net.nz>
     [not found] ` <u84rz5uiu9.fsf@gromit.rhein-neckar.de>
2001-01-12  5:50   ` "introduce no new bootstrap warning" criteria. was: Loop iv debugging patch Robert Lipe
2001-01-12  6:13     ` Joseph S. Myers [this message]
2001-01-14 23:30       ` Philipp Thomas
2001-01-15 11:35         ` Fergus Henderson
2001-01-12  7:09     ` Andreas Jaeger
2001-01-12 12:54     ` Toon Moene
2001-01-14  0:22 "introduce no new bootstrap warning" criteria. was: Loop iv debugging, patch Geoff Keating
2001-01-14  3:31 ` "introduce no new bootstrap warning" criteria. was: Loop ivdebugging, patch Joseph S. Myers
2001-01-14  4:01   ` Geoff Keating

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=Pine.LNX.4.30.0101121405040.14788-100000@kern.srcf.societies.cam.ac.uk \
    --to=jsm28@cam.ac.uk \
    --cc=gcc@gcc.gnu.org \
    --cc=robertlipe@usa.net \
    /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).