Building cde on fedore 40 results in:
In file included from ausdopen.c:62:
ausdopen.c: In function 'austext_dopen':
ausdopen.c:199:34: error: passing argument 1 of 'd_recread' from incompatible pointer type [-Wincompatible-pointer-types]
199 | RECREAD (PROGNAME "302", dbrec, 0);
| ^~~~~
| |
| DBREC * {aka struct or_dbrec }
../../include/Dt/SearchP.h:399:37: note: in definition of macro 'RECREAD'
399 | #define RECREAD(s,a,b) if(d_recread(a,b) < S_OKAY) vista_abort(s)
| ^
In file included from ../../include/Dt/vista.h:335,
from ausdopen.c:63:
../../include/Dt/dproto.h:261:15: note: expected 'char ' but argument is of type 'DBREC ' {aka 'struct or_dbrec '}
261 | int d_recread(char , int); / recread.c /
| ^~~~~~
make[4]: *** [Makefile:721: libDtSearch_la-ausdopen.lo] Fehler 1
*
after running "./autogen.sh && ./configure --enable-german --enable-italian --enable-french --enable-spanish
fedora 40 installs gcc 14.1.1. gcc > 14 reports some warnings as errors.
Workarounds can be found at https://gcc.gnu.org/gcc-14/porting_to.html
Last edit: Bernd Bluemmel 2024-05-13