Bug#1097938: startpar: ftbfs with GCC-15
Jesse Smith
jessefrgsmith at yahoo.ca
Fri Sep 5 18:54:13 BST 2025
On 2025-09-05 14:11, Mark Hindley wrote:
> Control: tags -1 patch
>
> Jesse,
>
> Does something like this help?
>
> Mark
Hi, just seeing this bug now for the first time so getting caught up here.
Yes, I think technically the patch suggested would work. Also, compiling
startpar with gcc instead of g++ would work.
Not sure why, but the log shows the compiler preference is being
overruled by Debian's build system and it's forcing the use of g++
instead of gcc, which is what is causing the error. startpar is a plain
C program and invoking the compiler as "gcc" (or clang would work as an
alternative) would avoid this error.
I think this should be fixed in the build system to use a C compiler,
not a C++ compiler, which is what is throwing the error.
Jesse
More information about the Debian-init-diversity
mailing list