slajerek / RetroDebugger

Retro Debugger is a multiplatform debugger APIs host for retro computers: C64 (Vice), Atari800 and NES (NestopiaUE).
175 stars 20 forks source link

Missing gcc compiler flag #43

Closed thecky closed 4 months ago

thecky commented 4 months ago

Hi,

currently the code doesn't compile under "Arch" with GCC 14.1.1. The fix is really simple, just add CMAKE_C_FLAGS to CMakeLists.txt, like it's already done with CMAKE_CXX_FLAGS. So, that you have these lines:

set (CMAKE_CXX_FLAGS "-fpermissive") set (CMAKE_C_FLAGS "-fpermissive")

This is already addressed in issue #31 (atleast in the first posts).

Regards, Thomas

slajerek commented 4 months ago

Thanks, I've added this fix. On my Debian that was not necessary. It will be released with 0.64.68

slajerek commented 4 months ago

Thanks https://github.com/slajerek/RetroDebugger/blob/master/CMakeLists.txt