Lots of gcc -Wall fixes. The common ones:

- switch() statements don't handle all values in an enum
- missing \n at end of file
- non-virtual destructors in classes containing virtual functions
- order of initializers in constructor initializer lists
... some other stuff (signedness, nested comments, unused variables) as
well.

This was SVN commit r2864.
This commit is contained in:
prefect
2005-10-07 15:24:29 +00:00
parent 8529426fa8
commit 04650efe7a
49 changed files with 121 additions and 66 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ bool CObjectBase::Load(const char* filename)
#define EL(x) int el_##x = XeroFile.getElementID(#x)
#define AT(x) int at_##x = XeroFile.getAttributeID(#x)
EL(actor);
EL(castshadow);
//EL(castshadow);
EL(material);
EL(group);
EL(variant);