The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
opengl headers
Owen Alanzo Hogarth
Guest

I am including#include <OpenGL/gl3.h>
#include <SDL2/SDL_opengl.h>



this causes compiler warning: 
/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:5:2: warning: gl.h and gl3.h are both included. Compiler will not
      invoke errors if using removed OpenGL functionality. [-W#warnings]
#warning gl.h and gl3.h are both included.  Compiler will not invoke errors if using removed OpenGL functionality.



Is there a way to remove these warning?