I am using Cfree 5 IDE with minGW compiler.
In my project while compiling my resource file I am getting an error

Expected unqualified-id before numeric constant

my resource file is coded like this

Code:
#define IDMAINICON			100

#define IDMAIN_FILE			2100
#define IDMAIN_FILE_NEW		2101
#define	IDMAIN_FILE_EXIT	2102

IDMAINICON ICON "SmIcon.ico"

IDMAIN_FILE MENU
BEGIN

	POPUP "&File"
		BEGIN
			MENUITEM "&New",IDMAIN_FILE_NEW
			
		END


END
what could be the reason??
Plz F1