From: Andy Moreton <andrewjmoreton@gmail.com>
To: 42656@debbugs.gnu.org
Subject: bug#42656: term.c:1405:25: warning: ‘%d’ directive writing between 2 and 10 bytes into a region of size 3
Date: Tue, 18 Aug 2020 10:44:24 +0100 [thread overview]
Message-ID: <86v9hgb85j.fsf@gmail.com> (raw)
In-Reply-To: <CAH8yC8=Egss9rvqkMgRKxgs8ou_ShtDi8YG_GcqaFs3TxVv3og@mail.gmail.com>
On Mon 17 Aug 2020, Paul Eggert wrote:
> I regularly get messages like that from old versions of GCC. It's better to
> ignore such messages, as we shouldn't clutter up the code merely to pacify
> older (or buggy) compilers.
>
> You can build with --disable-gcc-warnings to suppress the annoyances with
> older compilers (if you're building from Git, that is; you shouldn't need to
> specify anything if building from a tarball).
If the warning regularly generates many false positive results, then
disabling the warning should be be done by default, so an unmodified
tree gives a clean build.
AndyM
next prev parent reply other threads:[~2020-08-18 9:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-01 19:27 bug#42656: term.c:1405:25: warning: ‘%d’ directive writing between 2 and 10 bytes into a region of size 3 Jeffrey Walton
2020-08-01 19:43 ` Andreas Schwab
2020-08-09 23:07 ` Lars Ingebrigtsen
2020-08-28 6:06 ` Jeffrey Walton
2020-08-28 7:27 ` Andreas Schwab
2020-08-17 23:36 ` Paul Eggert
2020-08-18 9:44 ` Andy Moreton [this message]
2020-08-25 13:38 ` Stefan Kangas
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=86v9hgb85j.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=42656@debbugs.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.