In Haiku and BeOS's with the older gcc compiler (2.95.3) the tinsel engine does not compile (internal compiler error)
mkdir -p engines/tinsel/.deps
g++ -Wp,-MMD,"engines/tinsel/.deps/actors.d2" -Wall -g -fhuge-objects -Wconversion -pedantic -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DSCUMMVM_SVN_REVISION=\"45684\" -DHAVE_CONFIG_H -DUNIX -DSYSTEM_NOT_SUPPORTING_D_TYPE -DDATA_PATH=\"/boot/apps/ScummVM/share/scummvm\" -DPLUGIN_DIRECTORY=\"/boot/apps/ScummVM/lib/scummvm\" -DSDL_BACKEND -DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -DENABLE_AGOS2 -DENABLE_CINE=STATIC_PLUGIN -DENABLE_DRASCULA=STATIC_PLUGIN -DENABLE_GOB=STATIC_PLUGIN -DENABLE_GROOVIE=STATIC_PLUGIN -DENABLE_KYRA=STATIC_PLUGIN -DENABLE_LURE=STATIC_PLUGIN -DENABLE_MADE=STATIC_PLUGIN -DENABLE_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_IHNM -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TINSEL=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN -DENABLE_TUCKER=STATIC_PLUGIN -I. -I. -I./engines -I/boot/common/include/SDL -D_GNU_SOURCE=1 -c engines/tinsel/actors.cpp -o engines/tinsel/actors.o
/boot/home/dev/games/scummvm/common/serializer.h: In method `void Common::Serializer::syncAsUint32LE<uint32>(uint32 &, long unsigned int = 0, long unsigned int = Common::Serializer::kLastVersion)':
common/serializer.h:120: instantiated from here
In file included from /boot/home/dev/games/scummvm/engines/tinsel/actors.cpp:42:
/boot/home/dev/games/scummvm/common/serializer.h:226: Internal compiler error.
/boot/home/dev/games/scummvm/common/serializer.h:226: Please submit info to Oliver Tappe <gcc@hirschkaefer.de>.
make: *** [engines/tinsel/actors.o] Error 1
Ticket imported from: #2892515. Ticket imported from: bugs/4698.
Together with digital (thanks!) we seem to have nailed the problem with the cruise and tinsel engine, it seems that the function was used before the declaration (original at line 120).