Opened 17 years ago

Closed 16 years ago

Last modified 5 years ago

#3296 closed defect (fixed)

PSP: Compilation failed with lastest toolchain

Reported by: SF/pinkley Owned by: joostp
Priority: normal Component: Port: PSP
Version: Keywords:
Cc: Game:

Description

Last svn version. Last PSP toolchain version.

mkdir -p tools/.deps cc -Wall -o tools/convbdf ../../../tools/convbdf.c mkdir -p tools/.deps cc -Wall -o tools/md5table ../../../tools/md5table.c mkdir -p ./.deps psp-g++ -Wp,-MMD,"./.deps/psp_main.d",-MQ,"psp_main.o",-MP -I../../.. -I. -I../../../engines/ -I. -I/usr/local/pspdev/psp/sdk/include -O2 -Wall -D__PSP__ -DNONSTANDARD_PORT -DUSE_ZLIB -Wno-multichar `/usr/local/pspdev/psp/sdk/../bin/sdl-config --cflags` -DUSE_MAD -DUSE_VORBIS -DUSE_TREMOR -fno-exceptions -fno-rtti -DDISABLE_SCALERS -DDISABLE_HQ_SCALERS -c psp_main.cpp -o psp_main.o ../../../common/scummsys.h:374: erreur: conflicting declaration typedef int int32 /usr/local/pspdev/psp/sdk/include/psptypes.h:90: erreur: int32 has a previous declaration as typedef int32_t int32 make: *** [psp_main.o] Erreur 1

After having deleted line 90 in psptypes.h, it does work.

Ticket imported from: #1749559. Ticket imported from: bugs/3296.

Change History (8)

comment:1 by sev-, 17 years ago

As I understand, backends are intended to be compilable only with certain toolchain versions, so no wonder here.

comment:2 by sev-, 17 years ago

Owner: set to joostp

comment:3 by fingolfin, 17 years ago

Summary: Compilation failed on backend PSP with last toolchainPSP: Compilation failed with lastest toolchain

comment:4 by fingolfin, 17 years ago

Joost, care to comment on this?

comment:5 by joostp, 17 years ago

I don't get this error with my version of the toolchain (which is about a year old now), so it looks like this typedef in psptypes.h is `new`. When I have some time to spend on ScummVM again I'll update to the latest toolchain and fix any problems with it, for now, removing this particular typedef from scummsys.h should do the trick.

comment:6 by joostp, 16 years ago

I've just installed the latest toolchain on a new machine, and it compiles the latest ScummVM source without problems.

I guess this problem solved itself.. :)

comment:7 by joostp, 16 years ago

Resolution: fixed
Status: newclosed

comment:8 by digitall, 5 years ago

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