Hi,

I got a source code with these preprocessor directives:
Code:
#if Player::race = 0
#include "warrior.h"
#elif Player::race = 1
#include "conjurer.h"
#elif Player::race = 2
#include "wizard.h"
#endif
And I have a meaning that the warnings I get is somehow the reason for my program getting some errors about some classes in some different files than my main file.
Anyway, my warnings for the code is:
Code:
d:\c++\text_based_game\race.h(9) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
d:\c++\text_based_game\race.h(9) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
d:\c++\text_based_game\race.h(11) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
d:\c++\text_based_game\race.h(11) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
d:\c++\text_based_game\race.h(13) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
d:\c++\text_based_game\race.h(13) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
Can somebody give me a hand with my problem?
Thx in advance.