Re: New package: Functional PHP

From: Date: Fri, 10 Jun 2011 10:56:44 +0000
Subject: Re: New package: Functional PHP
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8342@lists.php.net to get a copy of this message
On 10 June 2011 11:48, Lars Strojny <lars@strojny.net> wrote: > Hi Richard, > > [...] >>I've tried doing a win32 build. I'm no expert. > > Me neither. > >>I created the following config.w32 file ... >> >>ARG_ENABLE("functional", "enable functional PHP extension", >>"no"); >> >>if (PHP_FUNCTIONAL != "no") { >>       EXTENSION("functional", "functional.c"); >>       CFLAGS="$CFLAGS -Wall -g -O0 -pedantic -std=c99" >>} > > Maybe less strict CFLAGS might help. Could you try without CFLAGS (don¹t > forget to phpize again). > >>During the build (VC9, x86, nts, PHP5_3-7-dev from svn) ... >> >>..\pecl\functional-php\functional.c(787) : error C2275: >>'zend_object_iterator' : illegal use of this type as an expression >>        d:\buildphp\php-src\vc9\x86\php_5_3\zend\zend_iterators.h(29) >>: see declaration of 'zend_object_iterator' >>..\pecl\functional-php\functional.c(787) : error C2065: 'iterŒ : > > [...] > I have honestly no clue. But I¹m sure Pierre can help :) Removed flags, but the errors are still present. Is the github uptodate? Also, is there any chance you could move the content of extension to the root, that way, it will fit into pecl with the tests as a sub-directory - though looking at the tests, these aren't in the same format as those used by core and pecl - phpt files. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

« previous php.pecl.dev (#8342) next »