Re: New package: Functional PHP
| From: | Mikko Koppanen | Date: | Fri, 10 Jun 2011 11:05:11 +0000 |
| Subject: | Re: New package: Functional PHP | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8343@lists.php.net to get a copy of this message | ||
On Fri, Jun 10, 2011 at 11:48 AM, Lars Strojny <lars@strojny.net> wrote:
>>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 :)
Hi,
c89 requires that variables are declared in the beginning of scope and
this does not seem to be the case on line 787. I think c99 support on
visual studio is very limited.
Thanks,
Mikko