Thanks for reporting the bug and for providing a patch. We will incorporate your patches into all future releases.
Regards, Tom Thomas D. Wu, M.D., Ph.D. Distinguished Scientist, Bioinformatics & Computational Biology Genentech <https://www.gene.com/>, A Member of the Roche Group t...@gene.com Join Genentech on LinkedIn <https://www.linkedin.com/company/genentech> | Twitter <https://twitter.com/genentech?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor> | Facebook <https://www.facebook.com/Genentech/> | Instagram <https://www.instagram.com/genentech/?hl=en> | YouTube <https://www.youtube.com/genentech> On Tue, Feb 25, 2025 at 2:06 PM Étienne Mollier <emoll...@debian.org> wrote: > Control: forwarded -1 t...@gene.com > Control: tags -1 + patch > > Hi Thomas, > > For information, we noticed in Debian bug #1096727[1] that gmap > failed to build from source with Gcc 15 due to using by default > the standard C 2023. > > [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096727 > > Here is an excerpt of the build log, obtained by Matthias Klose, > on 2025-02-17: > > > 7 | typedef unsigned char bool; > > | ^~~~~~~ > > In file included from ../../src/gmap_select.c:1: > > ../../src/bool.h:7:23: error: ‘bool’ cannot be defined via ‘typedef’ > > 7 | typedef unsigned char bool; > > | ^~~~ > > ../../src/bool.h:7:23: note: ‘bool’ is a keyword with ‘-std=c23’ onwards > > ../../src/bool.h:7:1: warning: useless type name in empty declaration > > 7 | typedef unsigned char bool; > > | ^~~~~~~ > > In file included from ../../src/cpuid.h:4, > > from ../../src/cpuid.c:6: > > I took the liberty to have a look at mitigating the build > failure and came up with a patch which you may find useful and > you will find in attachment. > > Have a nice day, :) > -- > .''`. Étienne Mollier <emoll...@debian.org> > : :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da > `. `' sent from /dev/pts/0, please excuse my verbosity > `- >