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>
Subject: bug#33863: closed (Re: [bug-diffutils] bug#33863: [PATCH] build:
 avoid build failure with --enable-gcc-warnings and latest gcc)
Date: Tue, 25 Dec 2018 00:22:04 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the diffutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 33863 <at> debbugs.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: 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

[Message part 3 (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 4 (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)]

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.