Hello, I have tried searching the web for a solution to these errors on gl.h, but am unable to find a solution to them.
I get these errors
forCode:c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|177|error: expected identifier before numeric constant| c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|177|error: expected unqualified-id before numeric constant| c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|177|error: expected unqualified-id before numeric constant|
Code:typedef enum { /* Boolean values */ GL_FALSE = 0, GL_TRUE = 1, /* Data types */ GL_BYTE = 0x1400, GL_UNSIGNED_BYTE = 0x1401, GL_SHORT = 0x1402, GL_UNSIGNED_SHORT = 0x1403, GL_INT = 0x1404, GL_UNSIGNED_INT = 0x1405, GL_FLOAT = 0x1406, GL_DOUBLE = 0x140A, GL_2_BYTES = 0x1407, GL_3_BYTES = 0x1408, GL_4_BYTES = 0x1409,the entire code is:Code:And these errors for the rest: c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|961|error: expected declaration before '}' token| c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|940|error: expected unqualified-id before numeric constant| c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|940|error: expected '}' before numeric constant| c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|940|error: expected identifier before numeric constant| c:\program files\codeblocks\mingw\bin\..\lib\gcc\mingw32\4.4.1\..\..\..\..\include\gl.h|930|error: declaration does not declare anything|
Removed by moderator
Any help would be greatly appreciated. Thanks!!!
EDIT: OpenGL header removed by moderator.



1Likes
LinkBack URL
About LinkBacks


