Hi. Trying to compile gforth on Gentoo, gcc 15.2.1

I'm getting these errors. Any help?

/usr/include/x86_64-pc-linux-gnu/bfd.h:2585:6: error: old-style parameter 
declarations in prototyped function definition
 2585 | void _bfd_error_handler (const char *fmt, ...) ATTRIBUTE_PRINTF_1;
      |      ^~~~~~~~~~~~~~~~~~
/home/herman/prog/build/gforth-0.7.9_20260610/lib/gforth/0.7.9_20260610/amd64/libcc-named/disasm2.c:129:
 error: expected '{' at end of input

in file included from *args*:3:1: 
unix/disasm2.fs:140:1: error: libtool compile failed
>>>end-c-library<<<
Backtrace:
libcc.fs:990:60:                         0 $7F4D2B4716C8 perform 
libcc.fs:1257:5:                         1 $7F4D2B4733C0 
compile-wrapper-function1 

Reply via email to