[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mass rebuild status with gcc-4.3.0-0.4 of rawhide-20071220


Any chance you could explain this one to me:

In file included from /usr/include/allegrogl/gl_ext.h:27,
                 from /usr/include/alleggl.h:68,
                 from menu.cpp:12:
/usr/include/allegrogl/GLext/gl_ext_api.h:1827: error: '<anonymous>' has incomplete type
/usr/include/allegrogl/GLext/gl_ext_api.h:1827: error: invalid use of 'GLvoid'

I just tried to build the rawhide machineball sources on F-8 and there they work fine. The offending line in /usr/include/allegrogl/GLext/gl_ext_api.h is:
AGL_API(void, EndTransformFeedbackNV,     (GLvoid))

Which basically translates to:
void EndTransformFeedbackNV(GLvoid);

And GLvoid is defined in:
/usr/include/GL/gl.h, which gets included by /usr/include/alleggl.h before including /usr/include/allegrogl/gl_ext.h.

GLvoid is defined as:
typedef void            GLvoid;

The only reason I can see for this not working is that:

Does not declare the prototypes in it and its included files as
extern "C" {

Could that explain this?

Strange though that this breaks between gcc-4.1.2-33, and

Thanks & Regards,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]