Opened 11 years ago

Closed 11 years ago

Last modified 2 years ago

#4698 closed defect (fixed)

BeOS: tinsel does not compile

Reported by: SF/begasus Owned by: lordhoto
Priority: normal Component: Port: BeOS
Version: Keywords: build
Cc: Game:

Description

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.

Attachments (1)

serializer.haiku.patch (975 bytes ) - added by SF/begasus 11 years ago.
fix for the 2.95.3 compilation

Download all attachments as: .zip

Change History (6)

comment:1 by lordhoto, 11 years ago

Summary: tinsel does not compileBeOS: tinsel does not compile

comment:2 by SF/begasus, 11 years ago

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).

by SF/begasus, 11 years ago

Attachment: serializer.haiku.patch added

fix for the 2.95.3 compilation

comment:3 by lordhoto, 11 years ago

Resolution: fixed
Status: newclosed

comment:4 by lordhoto, 11 years ago

Owner: set to lordhoto

comment:5 by digitall, 2 years ago

Component: Port: BeOS
Note: See TracTickets for help on using tickets.