Fixed
At 07:21 22-09-01, [EMAIL PROTECTED] wrote:
>Tried latest cvs update from zend and yy_state_type is typedef'ed in
>multiple places. Attached is a patch which should allow you to compile. I'm
>not sure what the procedure is for getting the fix back to zend.
>
>--
>PHP Development Mailing Lis
On Sat, 22 Sep 2001, Gavin Sherry wrote:
> It seems to be the case that yy_state_type is just a poor naming choice in
> zend_globals.h. I renamed yy_state_type here and it compiles fine.
Same for me, but I still think this needs to be fixed in Zend itself...
Derick
Oops. I'm wrong of course.
It seems to be the case that yy_state_type is just a poor naming choice in
zend_globals.h. I renamed yy_state_type here and it compiles fine.
Gavin
On Sat, 22 Sep 2001, Gavin Sherry wrote:
> As far as I can see, one needs only remove:
>
> typedef int yy_state_type;
As far as I can see, one needs only remove:
typedef int yy_state_type;
>From zend_globals.h. This makes the following part of the patch relevant:
+#ifndef YY_STATE_DEFINED
+#define YY_STATE_DEFINED
typedef int yy_state_type;
+#endif
Gavin
On Sat, 22 Sep 2001, Rasmus Lerdorf wrote:
> One of
One of the places it is defined is in the generated
zend_language_scanner.c file though. And that one isn't and can't be
protected with an ifdef/define, so it still won't build.
On Sat, 22 Sep 2001 [EMAIL PROTECTED] wrote:
> Tried latest cvs update from zend and yy_state_type is typedef'ed in
>