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

Full log


View this message in rfc822 format

From: Brian Nixon <nixonb <at> yahoo.com>
To: 23226 <at> debbugs.gnu.org
Subject: bug#23226: 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 71 days ago.

Previous Next


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