Re: [AD] macro namespaces

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Trent Gamblin wrote:

I was just changing ALLEGRO_D3D to ALLEGRO_CFG_D3D when I noticed
that after an svn up the build fails on the demo. The full error is
below. Even after passing WANT_OGL=off it still seems to be building
the OpenGL driver.

You can check if include/allegro5/platform/alplatf.h defines ALLEGRO_OGL (or ALLEGRO_CFG_OPENGL after the commit I just did). If it does then it is cmake configuration fault.

C:\Users\trent\4.9\include/allegro5/opengl/GLext/gl_ext_api.h:1827:
error: '<ano
nymous>' has incomplete type
C:\Users\trent\4.9\include/allegro5/opengl/GLext/gl_ext_api.h:1827:
error: inval
id use of 'GLvoid'

I've seen this error before. It happens with recent gcc. If you replace GLvoid with void it will compile. Other GLtypes work fine. I can't think of anything else but this being a gcc bug, but they wouldn't make such a stupid bug.



--
Milan Mimica
http://sparklet.sf.net




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/