Opened 18 years ago

Closed 18 years ago

Last modified 5 years ago

#1991 closed defect (fixed)

DC: compile crach -> vmsave.cpp

Reported by: SF/erwan2004 Owned by: fingolfin
Priority: normal Component: Port: Dreamcast
Version: Keywords:
Cc: Game:



System :Linux (suse 9.2) cross gcc-3.4.2-sh-elf, libronin ScummVM -CVS-11.04.2005

Log: [...]/home/erwan/Dreamcast/toolchain/gcc-3.4.2_binutils-2.14/sh-elf/bin/sh-el -m4-single-only -Wp,-MMD,"./.deps/vmsave.d",-MQ,"vmsave.o",-MP -O3 -Whar -funroll-loops -fschedule-insns2 -fomit-frame-pointer -fdelete-nullchecks -fno-exceptions -D__DC__ -DNONSTANDARD_PORT -I./ -I../.. -I../..I/home/erwan/Dreamcast/lib/ronin-src//include/ -c vmsave.cpp -o vmsave. vmsave.cpp:265: error: ISO C++ forbids declaration of `IntSaveFile' wit vmsave.cpp:265: error: `IntSaveFile' declared as a `virtual' field vmsave.cpp:265: error: expected `;' before '*' token vmsave.cpp:269: error: expected `;' before "SaveFile" vmsave.cpp: In member function `virtual SaveFileManager* OSystem_DreamcavefileManager()': vmsave.cpp:352: error: cannot allocate an object of type `VMSaveManager vmsave.cpp:352: error: because the following virtual functions are ab ../../common/savefile.h:81: error: virtual InSaveFile* SaveFileManagerLoading(const char*) make: *** [vmsave.o] Erreur 1 [erwan@localhost dc]$

Ticket imported from: #1180907. Ticket imported from: bugs/1991.

Change History (3)

comment:1 by fingolfin, 18 years ago

Owner: set to fingolfin
Resolution: fixed
Status: newclosed
Summary: Dc: compile crach -> vmsave.cppDC: compile crach -> vmsave.cpp

comment:2 by fingolfin, 18 years ago

There is no "compile crash" here, this is a compile *error*. Anyway, in general it's no good to submit these things as bugs to us. We don't have a DC to test, the only person who can look into these issues is the DC porter; you could of course email him directly; or submit a patch to us which fixes the issue; but shorter of that, you'll have to wait till Marcus finds time to resolve the issues eventually.

Luckily in this particular case, actually reading the error message reveals a trivial typo that is simple to fix.

comment:3 by digitall, 5 years ago

Component: --Unset--Port: Dreamcast
Note: See TracTickets for help on using tickets.