Hey,
I just made an update to Kubuntu 13.10, which just happened to break my whole development pipeline. Mostly by updating to GCC 4.8 (I wasn’t even asked when I accepted the update…). Anyway, it seems that it also somehow broke my OpenGL headers.
When I am trying to compile a program that includes gl.h, I get the following error:
In file included from /usr/include/GL/gl.h:2085:0,
from ../Src/Packages/Render/GLRenderSystem/Src/GLHeaders.h:62,
from ../Src/Packages/Render/GLRenderSystem/Src/GLDynamicTexture2D.cpp:10:
/usr/include/GL/glext.h:2589:18: error: typedef ‘GLuint64’ is initialized (use decltype instead)
typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
I really don’t see any point in either gl.h or glext.h where GLuint64 would have been initialized (and why should it, it’s a typedef!). I don’t know where this came from but this happens since the update to the latest Kubuntu. I have no idea if this is related to GCC 4.8 or something else.
Only the following files are included in the GLHeaders.h:
#include <GL/gl.h>
#include <GL/glx.h>
#include <GL/glxext.h>
Can anyone give an explanation for this weird bug?