If I try to compile the following header:
#include <SDL/SDL.h>
#include <SDL/SDL_opengl.h>
(without any additional includes)
using Dev-C++ 4.9.6.0, I obtain the following error:
In file included from test.h:4,
SDL/SDL_opengl.h:2154: redefinition of `PFNGLCOLORSUBTABLEEXTPROC'
GL/gl.h:1493: `PFNGLCOLORSUBTABLEEXTPROC' previously declared here
It works well if I use
#define NO_SDL_GLEXT
#include <SDL/SDL.h>
#include <SDL/SDL_opengl.h>
|