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



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 -




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