Compiling a file that uses OpenGL with Visual C++, when I try to include the gl.h header file I get about 150 unhelpful compile errors:
error C2144: syntax error : \'voi
Just #include before or . It is needed for some types, such as WINGDIAPI and APIENTRY.
#include
WINGDIAPI
APIENTRY