Re: windows build broken in php_scandir

From: Date: Fri, 01 Dec 2006 19:56:09 +0000
Subject: Re: windows build broken in php_scandir
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-26755@lists.php.net to get a copy of this message
Stas, Frank already has a patch for this that should be committed shortly. On 1-Dec-06, at 2:38 PM, Stanislav Malyshev wrote:
Latest patch to php_scandir: http://cvs.php.net/viewvc.cgi/php-src/main/php_scandir.c?r1=1.12.2.1&r2=1.12.2.1.2.1 Seems to break windows build in two places: main\php_scandir.c(65) : error C2065: 'MAXPATHLEN' : undeclared identifier main\php_scandir.c(65) : error C2057: expected constant expression main\php_scandir.c(65) : error C2466: cannot allocate an array of constant size 0 main\php_scandir.c(65) : error C2133: 'entry' : unknown size main\php_scandir.c(76) : warning C4013: 'php_readdir_r' undefined; assuming extern returning int main\php_scandir.c(76) : warning C4047: '=' : 'dirent *' differs in levels of indirection from 'int' I'll try to fix it. --Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ --PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
Ilia Alshanetsky

« previous php.internals (#26755) next »