Re: Re: cvs: php4 /ext/standard fsock.c

From: Date: Mon, 15 Jul 2002 05:02:29 +0000
Subject: Re: Re: cvs: php4 /ext/standard fsock.c
References: 1 2 3 4 5  Groups: php.dev 
Request: Send a blank email to php-dev+get-85931@lists.php.net to get a copy of this message
vc++ compiler understands nested blocks just fine. The problem is that err is used further down in the file, and err is out of scope at that point. -Jason On Sat, 2002-07-13 at 04:01, Jani Taskinen wrote: > On Sat, 13 Jul 2002, Sebastian Bergmann wrote: > > >Jani Taskinen wrote: > >> What's the error you get? > > > > c:\home\php\php4\ext\standard\fsock.c(244): error C2065: > > 'err': undeclared identifier > > So that stupid compiler doesn't understand this: > > . > . > > { > int err; > . > . > } > > ??? > > This stuff works with gcc and is used also elsewhere.. > Why doesn't it work there? :( > > --Jani > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#85931) next »