GNU bug report logs - #23226
diffutils does not compile with C89 compiler

Previous Next

Package: diffutils;

Reported by: Brian Nixon <nixonb <at> yahoo.com>

Date: Tue, 5 Apr 2016 21:02:01 UTC

Severity: normal

To reply to this bug, email your comments to 23226 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#23226; Package diffutils. (Tue, 05 Apr 2016 21:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Nixon <nixonb <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Tue, 05 Apr 2016 21:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Nixon <nixonb <at> yahoo.com>
To: <bug-diffutils <at> gnu.org>
Subject: diffutils does not compile with C89 compiler
Date: Tue, 5 Apr 2016 20:53:11 +0000 (UTC)
Hello,

Hardly a big problem, but the diffutils source contains some variable declarations after statements, as follows: 
(line numbers refer to git master as of approx. 2016-04-05T20:20Z)

	src/dir.c:308	int v1 = ...
	src/dir.c:366	for (char const **p = ...
	src/io.c:298	size_t repetitions = ...

This doesn’t correspond with the documentation that states that a C89 compiler should be sufficient to compile:

	README:33	This program requires a Standard C compiler (C89 or later)...

Regards,

Brian




This bug report was last modified 9 years and 70 days ago.

Previous Next


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