Bug#1097938: startpar: ftbfs with GCC-15

Thorsten Glaser tg at evolvis.org
Fri Sep 5 19:46:08 BST 2025


On Fri, 5 Sep 2025, Jesse Smith wrote:

> Also, compiling startpar with gcc instead of g++ would work.

No: GCC 15 now defaults to C23 by default, which forces its own
bool/true/false upon you.

I *was* a bit annoyed when I first heard of it, according to
https://github.com/MirBSD/mksh/commit/5d135a8ee38d84c5a4f6c175b9a831d5acbc641b
this was on 2022-02-19 or thereabouts, and even more annoyed
when they decided to switch GCC 15 to C23 by default with this
short a notice.

Now <stdbool.h> is part of ISO C99 and above, but even that
took a really long time to percolate. Whether you can use it
depends on what (how old) systems you’ll want to support.

bye,
//mirabilos
-- 
<cnuke> den AGP stecker anfeilen, damit er in den slot aufm 440BX board passt…
oder netzteile, an die man auch den monitor angeschlossen hat und die dann für
ein elektrisch aufgeladenes gehäuse gesorgt haben […] für lacher gut auf jeder
LAN party │ <nvb> damals, als der pizzateig noch auf dem monior "gegangen" ist



More information about the Debian-init-diversity mailing list