Followup-For: Bug #915112
Control: found -1 2.1.0-3

$ cat glewglext.c 
#include<GL/glew.h>
#include<GL/gl.h>
#include<GL/glext.h>

$ gcc -c glewglext.c 
In file included from glewglext.c:3:
/usr/include/GL/glext.h:12066:25: error: conflicting types for 
'PFNGLFRAGMENTLIGHTFVSGIXPROC'
 typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum 
pname, const GLfloat *params);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from glewglext.c:1:
/usr/include/GL/glew.h:18734:28: note: previous declaration of 
'PFNGLFRAGMENTLIGHTFVSGIXPROC' was here
 typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum 
pname, GLfloat* params);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

This seems to be a good candidate for compile time tests and autopkgtests.


Andreas

Reply via email to