Opened 14 years ago

Closed 14 years ago

Last modified 12 months ago

#2075 closed defect (fixed)

DC: Compile error

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

Description

hi,
I tests of compiled SCUMMVM on DREAMCAST

Suse 9.3
gcc 3.0.4 elf-sh (RONIN 0.4 is not compatible with
other thing)
Scummvm cvs

/home/erwan/Dreamcast/Toolchain/gcc-3.0.4_binutils-2.11.2_newlib-1.10.0/sh-elf/bin/sh-elf-g++
-ml -m4-single-only
-Wp,-MMD,"./.deps/dcmain.d",-MQ,"dcmain.o",-MP -O3
-Wno-multichar -funroll-loops -fschedule-insns2
-fomit-frame-pointer -fdelete-null-pointer-checks
-fno-exceptions -D__DC__ -DNONSTANDARD_PORT
-DDYNAMIC_MODULES -I./ -I../.. -I../../common
-I/home/erwan/Dreamcast/Toolchain/gcc-3.0.4_binutils-2.11.2_newlib-1.10.0/ronin/include/
-c dcmain.cpp -o dcmain.o
dcmain.cpp: In static member function `static OSystem*
OSystem_Dreamcast::create()':
dcmain.cpp:45: cannot allocate an object of type
`OSystem_Dreamcast'
dcmain.cpp:45: because the following virtual
functions are abstract:
../../common/system.h:379: virtual void
OSystem::grabPalette(byte*, unsigned
int, unsigned int)
make: *** [dcmain.o] Erreur 1
erwan@linux:~/cvs/scummvm/scummvm/backends/dc>

dc.h
add
void grabPalette(byte *colors, uint start, uint num);

/home/erwan/Dreamcast/Toolchain/gcc-3.0.4_binutils-2.11.2_newlib-1.10.0/sh-elf/bin/sh-elf-g++
-ml -m4-single-only
-Wp,-MMD,"./.deps/vmsave.d",-MQ,"vmsave.o",-MP -O3
-Wno-multichar -funroll-loops -fschedule-insns2
-fomit-frame-pointer -fdelete-null-pointer-checks
-fno-exceptions -D__DC__ -DNONSTANDARD_PORT
-DDYNAMIC_MODULES -I./ -I../.. -I../../common
-I/home/erwan/Dreamcast/Toolchain/gcc-3.0.4_binutils-2.11.2_newlib-1.10.0/ronin/include/
-c vmsave.cpp -o vmsave.o
vmsave.cpp: In member function `virtual Common::InSaveFile*
VMSaveManager::openForLoading(const char*)':
vmsave.cpp:284: cannot allocate an object of type
`InVMSave'
vmsave.cpp:284: because the following virtual
functions are abstract:
../../common/savefile.h:44: virtual void
Common::InSaveFile::skip(long
unsigned int)
make: *** [vmsave.o] Erreur 1
erwan@linux:~/cvs/scummvm/scummvm/backends/dc

heuuu ???

Ticket imported from: #1227267. Ticket imported from: bugs/2075.

Attachments (1)

dc.h (6.4 KB ) - added by SF/erwan2004 14 years ago.
dc.h modified

Download all attachments as: .zip

Change History (5)

by SF/erwan2004, 14 years ago

Attachment: dc.h added

dc.h modified

comment:1 by fingolfin, 14 years ago

I guess the DC backend just wasn't updated for the last
OSystem changes yet. That's OK and "normal", I am sure
Marcus will do that once we get close to 0.8.0...

For now, just use 0.7.1 ...

comment:2 by fingolfin, 14 years ago

Owner: set to zeldin
Summary: dreamcast compile *error*DC: Compile error

comment:3 by zeldin, 14 years ago

Resolution: fixed
Status: newclosed

comment:4 by digitall, 12 months ago

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