From: Joseph Myers <joseph@codesourcery.com>
To: Daniil Stas <daniil.stas@posteo.net>
Cc: <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH v3] c-format: Add -Wformat-int-precision option [PR80060]
Date: Mon, 22 Nov 2021 20:35:03 +0000 [thread overview]
Message-ID: <alpine.DEB.2.22.394.2111222033590.1574757@digraph.polyomino.org.uk> (raw)
In-Reply-To: <20211121145232.159995-1-daniil.stas@posteo.net>
On Sun, 21 Nov 2021, Daniil Stas via Gcc-patches wrote:
> This option is enabled by default when -Wformat option is enabled. A
> user can specify -Wno-format-int-precision to disable emitting
> warnings when passing an argument of an incompatible integer type to
> a 'd', 'i', 'o', 'u', 'x', or 'X' conversion specifier when it has
> the same precision as the expected type.
I'd expect this to apply to 'b' and 'B' as well (affects commit message,
ChangeLog entry, option help string, documentation).
--
Joseph S. Myers
joseph@codesourcery.com
next prev parent reply other threads:[~2021-11-22 20:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-21 14:52 Daniil Stas
2021-11-22 20:35 ` Joseph Myers [this message]
2021-11-23 9:18 ` Daniil Stas
2021-11-23 22:48 ` Joseph Myers
2021-11-27 22:20 ` Daniil Stas
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=alpine.DEB.2.22.394.2111222033590.1574757@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=daniil.stas@posteo.net \
--cc=gcc-patches@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).