Re: New package: Functional PHP
| From: | Lars Strojny | Date: | Fri, 10 Jun 2011 10:48:43 +0000 |
| Subject: | Re: New package: Functional PHP | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8341@lists.php.net to get a copy of this message | ||
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 :)
With regards,
Lars