Re: Zend CVS doesn't compile

From: Date: Sat, 22 Sep 2001 09:25:47 +0000
Subject: Re: Zend CVS doesn't compile
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-66325@lists.php.net to get a copy of this message
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; > > >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 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 mlwmohawk@mohawksoft.com 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. > > > > > > > > > > > > >

« previous php.dev (#66325) next »