Re: [9fans] type signatures

2009-03-02 Thread Charles Forsyth
that seems correct. if you want an incomplete type, you can specify that (with pragma incomplete).--- Begin Message --- Hi, I get a different type sygnature depending on weather the arg to a function contains members which are in scope or not - is this expected or a bug? for example: /* junk.c *

Re: [9fans] type signatures

2009-03-02 Thread Steve Simon
> Isn't this what > #pragma incomplete > is for? yep, I completely forgot about it. Thanks, -Steve

[9fans] type signatures

2009-03-02 Thread Fco. J. Ballesteros
Isn't this what #pragma incomplete is for? > From: st...@quintile.net > To: 9fans@9fans.net > Reply-To: 9fans@9fans.net > Date: Mon Mar 2 16:24:23 CET 2009 > Subject: [9fans] type signatures > > Hi, > > I get a different type sygnature depending

[9fans] type signatures

2009-03-02 Thread Steve Simon
Hi, I get a different type sygnature depending on weather the arg to a function contains members which are in scope or not - is this expected or a bug? for example: /* junk.c */ typedef struct unknown unknown; #ifdef DEF struct unknown { int a; }; #endif typedef struct arg arg; struct a