Re: [AD] macro namespaces

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


On 24/02/2008, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
>  > 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.

Update:
Happens with g++ 4.2.3 (4.2.x IIRC) and not with g++ 4.1.x.



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




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