On Sun, 5 Nov 2000, DeusExHeli0s wrote:

> /usr/local/include/glib-2.0/glib.h:3123: parse error before `GSystemThread'
> /usr/local/include/glib-2.0/glib.h:3123: warning: no semicolon at end of struct or 

> 3118  typedef struct _GStaticRecMutex GStaticRecMutex;
> 3119  struct _GStaticRecMutex
> 3120  {
> 3121    GStaticMutex mutex;
> 3122    unsigned int depth;
> 3123    GSystemThread owner;
> 3124  };

> Anyone Know what to do here??? I'm totally clueless.

I think that that SHOULD be OK, but I'm not going to look up C standards
to make sure.  Instead can you see what happens if you put line 3118 after
the structure definition on lines 3119-3124?  Alternatively, try a
combined declaration/typedef.

typedef struct _GStaticRecMutex
   GStaticMutex mutex;
   unsigned int depth;
   GSystemThread owner;
 }  GStaticRecMutex;

Also please post the compiler version you are using.

All of this is wild guesses.  I've never even thought about looking at
the source code for any of these tools, and certainly have no knowledge of


Jeffrey Goldberg
I have recently moved, see http://www.goldmark.org/jeff/contact.html
Relativism is the triumph of authority over truth, convention over justice

Reply via email to