public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: jsm28@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jsm28@cam.ac.uk,
	jsm28@gcc.gnu.org, nobody@gcc.gnu.org, proski@gnu.org
Subject: Re: c/3190: -Wformat-y2k doesn't belong to -Wall - it's hard to avoid
Date: Fri, 15 Jun 2001 12:09:00 -0000	[thread overview]
Message-ID: <20010615190921.838.qmail@sourceware.cygnus.com> (raw)

Synopsis: -Wformat-y2k doesn't belong to -Wall - it's hard to avoid

Responsible-Changed-From-To: unassigned->jsm28
Responsible-Changed-By: jsm28
Responsible-Changed-When: Fri Jun 15 12:09:21 2001
Responsible-Changed-Why:
    Mine once the appropriate solution is worked out.
State-Changed-From-To: open->analyzed
State-Changed-By: jsm28
State-Changed-When: Fri Jun 15 12:09:21 2001
State-Changed-Why:
    There are three separate cases here:
    
    * Those that use 2-digit years in all locales (%D, %g, %y).
    * Those that use 2-digit years in some locales, depending
    on the system (%c, %x).
    * Those that use 2-digit years in some locales, including
    the C locale (%Ey).
    
    I think at least the first of these does belong in -Wall
    (those formats don't depend on locale, so if you really
    want 2-digit years you can emulate them within ISO C).
    I'll await comments from the maintainers of NetBSD's GCC
    (which is where the option -Wno-format-y2k originated)
    as I think they have wanted to remove the Y2K warnings from
    -Wall as well.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3190&database=gcc


             reply	other threads:[~2001-06-15 12:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-15 12:09 jsm28 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-14 22:56 proski

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=20010615190921.838.qmail@sourceware.cygnus.com \
    --to=jsm28@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=jsm28@cam.ac.uk \
    --cc=nobody@gcc.gnu.org \
    --cc=proski@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).