tiles no sound build fails with use of undeclared identifier
error
#76796
Labels
(S2 - Confirmed)
Bug that's been confirmed to exist
Describe the bug
both gcc-14 and clang-18 linux tiles no sound builds fail with:
Error: src/sdltiles.cpp:3726:9: error: use of undeclared identifier 'sound_init_success'
orsrc/sdltiles.cpp:3726:9: error: ‘sound_init_success’ was not declared in this scope
Probably caused by #76782 . Clang 12, Ubuntu, Tiles, ASan failed with same error
Attach save file
N/A
Steps to reproduce
make -j4 TILES=1 SOUND=0
Expected behavior
no fatal errors
Screenshots
No response
Versions and configuration
linux x64
f61d1cd
clang version 18.1.8
gcc version 14.2.1
Additional context
it is declared inside #if defined(SDL_SOUND) block. I guess wrapping this one use as well is a reasonable fix for this fix this. Declaring it outside of that block does not make sense
The text was updated successfully, but these errors were encountered: