Opened 11 years ago

Closed 11 years ago

Last modified 11 months ago

#4053 closed defect (fixed)

PARALLACTION: Compiler error on AmigaOS4

Reported by: raziel- Owned by: lordhoto
Priority: normal Component: Engine: Parallaction
Keywords: build Cc:
Game:

Description

ppc-amigaos-g++ -Wp,-MMD,"engines/parallaction/.deps/graphics.d",-MQ,"engines/parallaction/graphics.o",-MP -Wall -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400 -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DHAVE_CONFIG_H -DDATA_PATH=\"/Development/Coding/Sources/scummvm\" -DPLUGIN_DIRECTORY=\"/usr/local/lib/scummvm\" -DSDL_BACKEND -DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -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_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN -DENABLE_TUCKER=STATIC_PLUGIN -I. -I. -I./engines -I/SDK/Local/newlib/include/SDL -D_GNU_SOURCE=1 -c engines/parallaction/graphics.cpp -o engines/parallaction/graphics.o
engines/parallaction/graphics.cpp: In member function 'void Parallaction::Gfx::setBackground(uint, Parallaction::BackgroundInfo*)':
engines/parallaction/graphics.cpp:820: error: no matching function for call to 'MAX(int, long int)'
gmake: *** [engines/parallaction/graphics.o] Error 1

Ticket imported from: #2464538. Ticket imported from: bugs/4053.

Change History (2)

comment:1 by lordhoto, 11 years ago

Owner: set to lordhoto
Resolution: fixed
Status: newclosed

comment:2 by digitall, 11 months ago

Component: Engine: Parallaction
Note: See TracTickets for help on using tickets.