# compiling error in glext.h??

I am trying to compile a program provided by my book. (super bible)

originally the program doesn’t contain #include<gl/glext.h>, so it comes up with “GL_BGR_EXT undeclared.” Then I add the #include<gl/glext.h>, but it comes up with hundreds of compiling errors in glext.h!

such as

3505 d:\Dev-Cpp\include\gl\glext.h syntax error before “red”
3506 d:\Dev-Cpp\include\gl\glext.h syntax error before “mode”
3507 d:\Dev-Cpp\include\gl\glext.h syntax error before “mode”

I got compiling errors in almost every line!