wiki:gcc14-todo

Version 1 (modified by Xi Ruoyao, 4 months ago) ( diff )

--

Some packages may need an adaption with GCC 14

Reference: ​https://gitlab.com/fweimer-rh/fedora-modernc

Serious issues marked as bold.

cmake (3.28.1)

https://gitlab.kitware.com/cmake/cmake/-/commit/806c40a38fc6e1996738173ecfa23a26f7502dbf

Two tests fail.

xmlto (0.0.28)

FTBFS:

xmlif/xmlif.l:46:8: error: type defaults to 'int' in declaration of 'ifsense' [-Wimplicit-int]
   46 | static ifsense;                 /* sense of last `if' or unless seen */
      |        ^~~~~~~
xmlif/xmlif.l:243:1: error: return type defaults to 'int' [-Wimplicit-int]
  243 | {
      | ^   
make[1]: *** [Makefile:741: xmlif/xmlif.o] Error 1

sed -e '/^static/s|ifsense|int &|' -e 's|^main|int &|' -i xmlif/xmlif.l

Note: See TracWiki for help on using the wiki.