ea4k / klog

KLog is a multiplatform free hamradio logger. It runs natively on Linux, macOS and Windows.
https://www.klog.xyz
GNU General Public License v3.0
75 stars 25 forks source link

klog-2.3.4 build fails with gcc-c++-14.0 #747

Open barjac opened 1 month ago

barjac commented 1 month ago

src/hamlibclass.cpp:546:20: error: invalid conversion from 'int ()(const rig_caps, void)' to 'int ()(rig_caps, void)' [-fpermissive]

Full log: http://mtf.duckdns.org/pub/linux/barjac/distrib/cauldron/x86_64/log/klog-2.3.4-1.5.mga.src.rpm/build.x86_64.0.20241003174146.log

Help porting to 14.0: https://gcc.gnu.org/gcc-14/porting_to.html

david-geiger commented 2 weeks ago

This build issue come from hamlib, especially since this commit: https://github.com/Hamlib/Hamlib/commit/74062c6aba1650f0f4f5f77883e2cc3d25dc4da7 which now rig_caps is no longer constant.