I found what was the problem, there is a (GLvoid) parameters in some macro in an AllegroGL header (include/allegrogl/GLext/gl_ext_api.h):
Code: Select all
AGL_API(void, EndTransformFeedbackNV, (GLvoid))
I commented it and it works, so I think GCC 4.2 doesn't support (GLvoid) parameter, so you can replace it with () and it should work. I'll upload a modifier AllegroGL 0.4.3 which works with GCC 4.2