At 21:11 8-10-2002, Sascha Schumann wrote:

> > It's not a typedef but the struct itself that's provided, so that 
> doesn't work.
>
>     I'm curious.  The following code works here.
>
>     struct foo { int a; };
>     typedef struct foo php_sysmsg;
>
>     What did not work for you?

Yes - it sounds logical, but we we're back to the old problem. Calling a sizeof
on an unfinished type.
I placed the #ifdefs, in the header, the global scope of the c file, and the
function bodies and none worked. I also checked gcc -E preprocessor output and
all looked in order.
I might have overlooked something though.

> > It boils down to:
>
>     Please remove the mymsg part.  It is not required and might
>     cause problems later on (e.g. mysql uses the my prefix as
>     well).

Good point - but also raises, whether to look for this struct in the first 
place.
Why not skip it all, and define it ISO C compliant, in php_ namespace?



Met vriendelijke groeten / With kind regards,

Webmaster IDG.nl
Melvyn Sopacua


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to