#include #include #include #include void test() { GLuint flags; SDL_Init(SDL_INIT_VIDEO); flags = SDL_OPENGL; } /* Kompileringsfeilen: ------ Build started: Project: dgl, Configuration: Debug Win32 ------ Compiling... test.c ..\..\dgl\test.c(10) : error C2275: 'GLuint' : illegal use of this type as an expression C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\GL/gl.h(52) : see declaration of 'GLuint' ..\..\dgl\test.c(10) : error C2146: syntax error : missing ';' before identifier 'flags' ..\..\dgl\test.c(10) : error C2065: 'flags' : undeclared identifier Build log was saved at "file://c:\src\demo\build\dgl\dgl.dir\Debug\BuildLog.htm" dgl - 3 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== */