GNU bug report logs -
#78032
new compilation error
Previous Next
To reply to this bug, email your comments to 78032 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-diffutils <at> gnu.org
:
bug#78032
; Package
diffutils
.
(Thu, 24 Apr 2025 10:58:11 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Bruno Haible <bruno <at> clisp.org>
:
New bug report received and forwarded. Copy sent to
bug-diffutils <at> gnu.org
.
(Thu, 24 Apr 2025 10:58:11 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi Paul,
The CI reports a compilation error of GNU diffutils, caused by the
most recent commit 45a4762bf3241e7fb6a2e01d382791ae44236841 .
Error seen on CentOS 7 (with gcc):
../../src/sdiff.c: In function 'edit':
../../src/sdiff.c:884:8: error: a label can only be part of a statement and a declaration is not a statement
int cmd1 = skip_white ();
^
make[2]: *** [sdiff.o] Error 1
Errors seen on macOS 15 and FreeBSD (with clang):
../../src/sdiff.c:884:8: error: expected expression
884 | int cmd1 = skip_white ();
| ^
../../src/sdiff.c:885:23: error: use of undeclared identifier 'cmd1'; did you mean 'cmd'?
885 | switch (cmd1)
| ^~~~
| cmd
...
Bruno
This bug report was last modified today.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.