ScummVM 0.6.0 fixes when not using GCC
|Reported by:||SF/mrhandler||Owned by:||fingolfin|
During the build of ScummVM 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 patch file).
- backends/fs/fs.h does not define the access mode for the parent class Common::List<FilesystemNode *> (fixed to private, as implied by the compiler)
- scumm/insane/insane.h & scumm/insane/insane.cpp have a wrong dimension for the matrix _enemyState, which yelds to memory overwritings
- some missing scope qualifiers in scumm/dialogs.cpp have been reinstated
- compilers different from GCC can be really picky, but in generally pretend that a function which should return a value does it in any possible branch of its body.
Hope it helps, Andrea
Ticket imported from: #924685. Ticket imported from: patches/442.