GNU bug report logs - #33863
[PATCH] build: avoid build failure with --enable-gcc-warnings and latest gcc

Previous Next

Package: diffutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Tue, 25 Dec 2018 00:01:02 UTC

Severity: normal

Tags: patch

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jim Meyering <jim <at> meyering.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#33863: closed ([PATCH] build: avoid build failure with
 --enable-gcc-warnings and latest gcc)
Date: Tue, 25 Dec 2018 00:22:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 24 Dec 2018 16:20:45 -0800
with message-id <CA+8g5KG1Z8ryQx8zH+3ch46CW6fuWVBxuRHJ=Xy8VrjHq8HGrQ <at> mail.gmail.com>
and subject line Re: [bug-diffutils] bug#33863: [PATCH] build: avoid build failure with --enable-gcc-warnings and latest gcc
has caused the debbugs.gnu.org bug report #33863,
regarding [PATCH] build: avoid build failure with --enable-gcc-warnings and latest gcc
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
33863: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=33863
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: bug-diffutils <at> gnu.org
Subject: [PATCH] build: avoid build failure with --enable-gcc-warnings and
 latest gcc
Date: Mon, 24 Dec 2018 16:00:20 -0800
[Message part 3 (text/plain, inline)]
Preparing for a release, I noticed a build failure. Here's what I've
just pushed, along with a few maintenance-related diffs:

* src/diff.c (usage): Assert that each line length is no longer than
the minimum required size of 4095.  This lets newer gcc (currently
9.0.0 20181219) infer that it need not issue this warning:
diff.c:1012:19: error: '%.*s' directive output between 0 and 2147483647
bytes may exceed minimum required size of 4095
[-Werror=format-overflow=]
1012 |        printf ("  %.*s", msglen, msg);
[format-overflow-warning.diff (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: 33863-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#33863: [PATCH] build: avoid build failure
 with --enable-gcc-warnings and latest gcc
Date: Mon, 24 Dec 2018 16:20:45 -0800


This bug report was last modified 6 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.