I missed the point... BTW that seems to have been fixed now. Moriyoshi
Melvyn Sopacua <[EMAIL PROTECTED]> wrote: > At 04:04 10/22/2002 +0900, Moriyoshi Koizumi wrote: > > >./buildconf needed > > ? > [EMAIL PROTECTED] ~/cvs/php4 > $ history > [...] > 513 export MAKE=gmake > 514 ./buildconf > 515 ./configure-cmd.sh > 516 gmake > 517 vi ext/standard/basic_functions.c > > Look at the code: > #ifdef HAVE_GETOPT_LONG > struct option *longopts = NULL; > int longindex = 0; > #endif > > struct only defined, when HAVE_GETOPT_LONG is defined. > line 1521 is the only reference to struct longopts that is not protected. > > Don't see how buildconf could help, and I even did that. > > > > >Moriyoshi > > > >Melvyn Sopacua <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > Current CVS doesn't compile for me, cause longopts isn't protected > > > with an #ifdef HAVE_GETOPT_LONG and an alternate approach. > > > > > > /home/msopacua/cvs/php4/ext/standard/basic_functions.c: In function > > > `zif_getopt': > > > /home/msopacua/cvs/php4/ext/standard/basic_functions.c:1521: `longopts' > > > undeclared (first use in this function) > > > /home/msopacua/cvs/php4/ext/standard/basic_functions.c:1521: (Each > > > undeclared identifier is reported only once > > > /home/msopacua/cvs/php4/ext/standard/basic_functions.c:1521: for each > > > function it appears in.) > > > /home/msopacua/cvs/php4/ext/standard/basic_functions.c:1521: `longindex' > > > undeclared (first use in this function) > > > gmake: *** [ext/standard/basic_functions.lo] Error 1 > > > > > > > > > Met vriendelijke groeten / With kind regards, > > > > > > Webmaster IDG.nl > > > Melvyn Sopacua > > > > > > <@Logan> I spent a minute looking at my own code by accident. > > > <@Logan> I was thinking "What the hell is this guy doing?" > > > > > > > > > -- > > > PHP Development Mailing List <http://www.php.net/> > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > Met vriendelijke groeten / With kind regards, > > Webmaster IDG.nl > Melvyn Sopacua > > <@Logan> I spent a minute looking at my own code by accident. > <@Logan> I was thinking "What the hell is this guy doing?" > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php