| adm | Find | login register |
yan12125 joined: 2018-10-05 posted: 8 promoted: bookmarked: |
I got following compiler errors for gcin 2.9.0 when I use GCC 14: gcin.cpp: In function ‘open_xim’: gcin.cpp:250:11: error: implicit declaration of function ‘p_err_no_alert’; did you mean ‘p_err_no_alter’? [-Wimplicit-function-declaration] 250 | p_err_no_alert("IMOpenIM '%s' failed. Maybe another XIM server is running.\n", | ^~~~~~~~~~~~~~ | p_err_no_alter gcin.cpp: In function ‘delayed_start_cb’: gcin.cpp:501:7: error: implicit declaration of function ‘init_tray_indicator’ [-Wimplicit-function-declaration] 501 | init_tray_indicator(); | ^~~~~~~~~~~~~~~~~~~ Apparently GCC 14 started to consider -Wimplicit-function-declaration as an error. After some tests, I noticed that I need two more compiler flags "-Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" to get gcin built. Could you fix gcin and get rid of those two kinds of errors? | |||||||
eliu joined: 2007-08-09 posted: 11480 promoted: 617 bookmarked: 187 新竹, 台灣 |
| |||||||
qtnez joined: 2016-10-14 posted: 93 promoted: bookmarked: 台灣‧屏東 |
TeX Live 2024 用 gcc14 也編不過。 -- | |||||||
yan12125 joined: 2018-10-05 posted: 8 promoted: bookmarked: |
請問有修正的計畫嗎?2.9.2版仍有這個問題,且另外需要 -Wno-error=int-conversion 才能在 GCC 14 編譯。 | |||||||
eliu joined: 2007-08-09 posted: 11480 promoted: 617 bookmarked: 187 新竹, 台灣 |
|
| adm | Find | login register |