Hi, i have some sourcecode that I want to compile with VS2008 but there are many errors i have to fix. Now there are some Enums like:
enum
{
BACKGROUND = 0x00000001,
WEAPON = 0x00000002,
TRANSPARENT = 0x00000004
}
The problem is that TRANSPARENT is defined as:
#define TRANSPARENT 1
in WinGDI.h
That will cause a compile error like:
error C2143: syntax error : missing '}' before 'constant'
Is it possible to fix that error without renaming the field in the enum and without removing the WinGDI.h from the includes (I don't know where it's included..)