[Glade-users] Error compiling glade-app.h

Eric Squires ehs4 at geneseo.edu
Mon Mar 10 11:43:55 EDT 2008


I'm using GCC through Code::Blocks on an XP machine.  I'm trying to use 
libglade in one of my programs and when I try to compile, I get this error:

error: use of enum `_GladePointerMode' without previous declaration

on the following line of code:

typedef enum   _GladePointerMode GladePointerMode;

After looking at the source, I see that the definition of 
_GladePointerMode comes just after the typedef.  Is there a simple work 
around for this aside from actually altering the source?  Thanks in 
advance for the help.

- Eric -


More information about the Glade-users mailing list