I need help to solve a compilation issue for this little tool: https://github.com/Network-BEncode-inside/torrentcheck
With gcc 14.3.0, here is the error :
Code: Select all
~ make
cc -c -O -DICONV_IMPLEMENTATION src/torrentcheck.c -o src/torrentcheck.o
src/torrentcheck.c: In function 'beFindInDict':
src/torrentcheck.c:207:28: error: implicit declaration of function 'beStepOver' [-Wimplicit-function-declaration]
207 | benstrOffset = beStepOver(benstr,benstrLen,benstrOffset);
| ^~~~~~~~~~
make: *** [Makefile:12: src/torrentcheck.o] Error 1so I tried to compile this tool in a debian bookworm chroot (it uses gcc 12)
And it compiles just fine with gcc 12 (and works fine too)
Is there a way to compile it (maybe a patch is needed ?) with gcc 14 so I can write a little ebuild for it ?
Thanks!


