Opened 15 years ago

Closed 15 years ago

Last modified 6 years ago

#4697 closed defect (fixed)

BeOS: Cruise 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 engine doesn't compile (internal compiler error)

mkdir -p engines/cruise/.deps g++ -Wp,-MMD,"engines/cruise/.deps/actor.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_CRUISE=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/cruise/actor.cpp -o engines/cruise/actor.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/cruise/sound.h:34, from /boot/home/dev/games/scummvm/engines/cruise/cruise.h:37, from /boot/home/dev/games/scummvm/engines/cruise/actor.cpp:26: /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/cruise/actor.o] Error 1

Ticket imported from: #2892510. Ticket imported from: bugs/4697.

Attachments (1)

serializer.haiku.patch (975 bytes ) - added by SF/begasus 15 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by lordhoto, 15 years ago

Summary: cruise does not compileBeOS: Cruise does not compile

by SF/begasus, 15 years ago

Attachment: serializer.haiku.patch added

comment:2 by SF/begasus, 15 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).

comment:3 by lordhoto, 15 years ago

Owner: set to lordhoto
Resolution: fixed
Status: newclosed

comment:4 by digitall, 6 years ago

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