About Store Forum Documentation Contact
Donations:
309$/mo



Post Reply 
"ERROR" in Advertisement.h conflicts with wingdi.h
Author Message
fatcoder Offline
Member

Post: #1
"ERROR" in Advertisement.h conflicts with wingdi.h
The STATE enum value "ERROR" has been defined in Advertisement.h however, ERROR is defined in the standard wingdi.h header file. Therefore when trying to include windows.h for some platform specific work, it throws compiler errors. Can "ERROR" in Advertisement.h be renamed to something else, like "FAILED" for example?
06-30-2014 12:10 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: "ERROR" in Advertisement.h conflicts with wingdi.h
I've added #undef ERROR to EE headers just now
07-01-2014 01:17 AM
Find all posts by this user Quote this message in a reply
Post Reply