Re: longopts in basic_functions.c:1521

From: Date: Mon, 21 Oct 2002 20:01:03 +0000
Subject: Re: longopts in basic_functions.c:1521
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-89838@lists.php.net to get a copy of this message
On Tue, 22 Oct 2002, Moriyoshi Koizumi wrote: > I missed the point... No worries, do you know how hard it is to hit a point? :) > BTW that seems to have been fixed now. Yep, saw that and tried and worked. Thanx Hartmut. > > Moriyoshi > > > > Melvyn Sopacua <msopacua@idg.nl> wrote: > > > At 04:04 10/22/2002 +0900, Moriyoshi Koizumi wrote: > > > > >./buildconf needed > > > > ? > > msopacua@trinity.webteckies.org ~/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 <msopacua@idg.nl> 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 > > > > > -- With kind regards, Melvyn Sopacua <?php include("not_reflecting_employers_views.txt"); ?>

« previous php.dev (#89838) next »