| Message |
Well, there are a few things here...
For one, SMAUG code is quite messy in that it does not follow the strict ANSI C guidelines. It does its casts quite messily, and that's why you're getting all those warnings and maybe even errors.
For instance, I recently ported a MUD from C to C++, and it compiled fine under C and generated about 400 errors under C++, due to a stricter compiler. It's quite possible that MSVC++ is using a stricter version of the language standards (which actually is a good thing, since it helps avoid mistakes.)
The other thing you may want to look at is that it might not be figuring out that you're compiling in C, not C++, so it may be seeing C++ keywords (e.g. class, new, etc.) and getting confused. It's enough to just change class to Class, or something to that effect. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|