../src/console.c: In function 'ConsoleGetWindowSize':
../src/console.c:218:13: error: too many arguments to function 'tgetnum'; expected 0, have 1
218 | WIDTH = tgetnum( "columns" );
| ^~~~~~~ ~~~~~~~~~
../src/console.c:113:35: note: declared here
113 | extern int tgetent(), tgetflag(), tgetnum(), tputs();
| ^~~~~~~
...
gcc-15switched toC23by default (https://gcc.gnu.org/gcc-15/porting_to.html) and brokelvbuilding as:This happens because
extern int tgetnum()changed the meaning toextern int tgetnum(void).