Re: amiga-fdisk: ftbfs with GCC-14

2024-08-18 Thread John Paul Adrian Glaubitz
Hi, On Sun, 2024-08-18 at 11:19 +0200, Geert Uytterhoeven wrote: > > > I tried defining n in fdisk.c as unsigned int but this caused even more > > > warnings in other places. Do I have to cast the arguments in sscanf to > > > unsigned int? It wants "unsigned int *", is it as simple as this or is

Re: amiga-fdisk: ftbfs with GCC-14

2024-08-18 Thread Geert Uytterhoeven
Hi Adrian, On Thu, Aug 15, 2024 at 11:44 PM John Paul Adrian Glaubitz wrote: > On Thu, 2024-08-15 at 22:56 +0200, Christian T. Steigies wrote: > > gcc -g -O2 -Werror=implicit-function-declaration > > -ffile-prefix-map=/home/cts/salsa/amiga-fdisk=. -fstack-protector-strong > > -fstack-clash-prot

Re: amiga-fdisk: ftbfs with GCC-14

2024-08-15 Thread John Paul Adrian Glaubitz
Hi Christian, On Thu, 2024-08-15 at 22:56 +0200, Christian T. Steigies wrote: > gcc -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/home/cts/salsa/amiga-fdisk=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wall -pedant

amiga-fdisk: ftbfs with GCC-14

2024-08-15 Thread Christian T. Steigies
Hi, I need to fix this bug if we want to have amiga-fdisk in trixie: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074807 The attached patch fixes the error and removes one of the warnings, I assume that this is the correct solution? There are a couple more warnings which will probably beco