06.06.2015, 12:43
I guess there is no such variable (or whatever) named ERP_DialogBase. Also, it is possible that ERP_DialogBase is defined AFTER your enum. For example:
To get rid of this error, you should move your enum below the ERP_DialogBase:
Код:
enum { ERP_BankChoose = ERP_DialogBase +1 } #define ERP_DialogBase 0
Код:
#define ERP_DialogBase 0 enum { ERP_BankChoose = ERP_DialogBase +1 }