ScummVM tools 0.6.0 fixes when not using GCC
|Reported by:||SF/mrhandler||Owned by:||fingolfin|
During the build of ScummVM tools 0.6.0 with MIPSPro
C/C++ compilers on SGI IRIX, I've found some errors and
some incompabilities that I've fixed (see the attached
The fixes are:
- md5table.c is a C file, but uses C++ constructs like
declaring variables in the middle of a function. GCC
may be tolerant on that, other compilers are not.
- in queenrebuild.c, there is a member structure
unintentional overwrite because an array is delclared
one byte shorter (this error has been caught directly
by the compiler)
- in simon2mp3.c, the public function end() has been
made static, because this function name is in conflict
with an internal name used by the IRIX linker.
Hope it helps,
Ticket imported from: #924682. Ticket imported from: patches/441.