BUILD: Build failure on unstable Debian (FluidSynth 2.1.0)
|Reported by:||eriktorbjorn||Owned by:||digitall|
Debian unstable recently updated from FluidSynth 1.1.14 to 2.1.0. Unfortunately, I now get this when I try to compile ScummVM:
C++ audio/softsynth/fluidsynth.o In file included from ./common/scummsys.h:472, from audio/softsynth/fluidsynth.cpp:23: ./common/forbidden.h:57:89: error: expected ‘)’ before ‘SYMBOL’ 57 | YMBOL_REPLACEMENT FORBIDDEN_look_at_common_forbidden_h_for_more_info SYMBOL !%* | ^~~~~~ In file included from /usr/include/fluidsynth.h:105, from audio/softsynth/fluidsynth.cpp:38: /usr/include/fluidsynth/log.h:82:24: note: to match this ‘(’ 82 | __attribute__ ((format (printf, 2, 3))) | ^ make: *** [Makefile.common:122: audio/softsynth/fluidsynth.o] Error 1
It can be worked around by adding "#define FORBIDDEN_SYMBOL_EXCEPTION_printf" but that feels a bit kludgy to me. Is there no better way?