well, i’m a beginner at the very first stage. i’m using lcc-win32 as my compiler. when i try to compile my codes, written in C, the compiler shows me many errors for the gl.h (!) file,
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1151 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1151 Syntax error; missing semicolon before void' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1151 Syntax error; missing semicolon before
glAccum’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1151 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1152 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1152 Syntax error; missing semicolon before void' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1152 Syntax error; missing semicolon before
glAlphaFunc’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1152 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1153 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1153 Syntax error; missing semicolon before GLboolean' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1153 redefinition of 'APIENTRY' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1152 Previous definition of 'APIENTRY' here Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1153 Syntax error; missing semicolon before
glAreTexturesResident’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1153 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1154 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1154 Syntax error; missing semicolon before void' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1154 redefinition of 'APIENTRY' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1153 Previous definition of 'APIENTRY' here Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1154 Syntax error; missing semicolon before
glArrayElement’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1154 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1155 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1155 Syntax error; missing semicolon before void' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1155 Syntax error; missing semicolon before
glBegin’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1155 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1156 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1156 Syntax error; missing semicolon before void' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1156 Syntax error; missing semicolon before
glBindTexture’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1156 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1157 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1157 Syntax error; missing semicolon before void' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1157 Syntax error; missing semicolon before
glBitmap’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1157 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1158 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1158 Syntax error; missing semicolon before void' Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1158 Syntax error; missing semicolon before
glBlendFunc’
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1158 no type specified. Defaulting to int
Warning c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1159 no type specified. Defaulting to int
Error c:\lcc\hellogl.c: c:\lcc\include\gl\gl.h: 1159 too many errors
what are these errors? how can i solve em? Plz help!!!