Bug#1096455: commons-daemon: ftbfs with GCC-15
Florian Ernst
florian at debian.org
Sun Sep 21 09:40:20 BST 2025
Control: tags -1 patch
thanks
On Mon, Feb 17, 2025 at 05:07:49PM +0000, Matthias Klose wrote:
> [...]
> The package fails to build in a test rebuild on at least amd64 with
> gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
> severity of this report will be raised before the forky release.
> [...]
> jsvc.h:33:5: error: cannot use keyword ‘false’ as enumeration constant
> 33 | false,
> | ^~~~~
> In file included from jsvc-unix.c:18:
> jsvc.h:33:5: error: cannot use keyword ‘false’ as enumeration constant
> 33 | false,
> | ^~~~~
> jsvc.h:33:5: note: ‘false’ is a keyword with ‘-std=c23’ onwards
> jsvc.h:33:5: note: ‘false’ is a keyword with ‘-std=c23’ onwards
> jsvc.h:35:3: error: expected ‘;’, identifier or ‘(’ before ‘bool’
> 35 | } bool;
> | ^~~~
> jsvc.h:35:3: error: expected ‘;’, identifier or ‘(’ before ‘bool’
> 35 | } bool;
> | ^~~~
> [...]
The attached patch (valid since C99) resolves the FTBFS.
HTH,
Flo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ftbfs_with_GCC-15.patch
Type: text/x-diff
Size: 466 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20250921/3e5a613a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20250921/3e5a613a/attachment.sig>
More information about the pkg-java-maintainers
mailing list