Compiler Error (GD_AXE not declared)

Asked by Vader

After downloading the sourcecode, entering the external lib/include/bin-VC Directories (as mentioned in the FAQ) i still get compiler errors, due to a forward declaration in "Ware.h":

// Enumforwarddeklaration bei VC nutzen
#ifdef _MSC_VER
enum GoodType;
#else
#include "GameConsts.h"
#endif

The macro "_MSC_VER" seems to be defined in my Visual Studio 2010 Version. But at line 124 (and the following lines) it produces compiler errors "'GD_AXE' not declared" (and so on). How can i get rid of this issue?

Question information

Language:
English Edit question
Status:
Solved
For:
Return To The Roots Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vader (timm-hoffmeister) said :
#1

Btw. outcommenting the macro stuff and just using the include solves the error:

#include "GameConsts.h"

Revision history for this message
FloSoft (flosoft) said :
#2

Fixed in rev8327