|
|
发表于 2026-6-10 11:37:03
|中国|
显示全部楼层
大佬,编译报错(编译之前先预编译过原版,正常编译):
Compiling src/emu/schedule.cpp...
../../../../../src/emu/schedule.cpp:534:3: warning: 'timer_set' is deprecated: timer_set is deprecated; please avoid
anonymous timers. Use an allocated emu_timer instead. [-Wdeprecated-declarations]
534 | timer_set(after, timer_expired_delegate(FUNC(device_scheduler::timed_trigger), this), trigid);
| ^
In file included from ../../../../../src/emu/schedule.cpp:1:
In file included from ../../../../../src/emu/emu.h:74:
D:/msys64/src/build/projects/winui/mamearcade/gmake-mingw-clang/../../../../../src/emu/schedule.h:125:4: note:
'timer_set' has been explicitly marked deprecated here
125 | [[deprecated("timer_set is deprecated; please avoid anonymous timers. Use an allocated emu_timer instead.")]]
| ^
Compiling src/mame/atari/tia.cpp...
../../../../../src/emu/screen.cpp:851:3: error: misleading indentation; statement is not part of the previous 'if'
[-Werror,-Wmisleading-indentation]
851 | if(machine().options().Frame_60fps())
| ^
../../../../../src/emu/screen.cpp:845:2: note: previous statement is here
845 | if ((m_video_attributes & VIDEO_UPDATE_SCANLINE) != 0 || !m_scanline_cb.isunset())
| ^
../../../../../src/emu/screen.cpp:1270:21: error: return type of out-of-line definition of 'screen_device::update_now'
differs from that in the declaration
1270 | void screen_device::update_now()
| ~~~~ ^
In file included from ../../../../../src/emu/screen.cpp:12:
../../../../../src/emu/screen.h:411:7: note: previous definition is here
411 | bool update_now() { return update_partial(vpos(), hpos()); }
| ~~~~ ^
|
|