Re: PHP5.3.0RC3 small build problem
| From: | Johannes Schlüter | Date: | Tue, 16 Jun 2009 13:25:07 +0000 |
| Subject: | Re: PHP5.3.0RC3 small build problem | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44305@lists.php.net to get a copy of this message | ||
Hi,
out of curiosity: Which compiler/platform complained about that? Many
compilers accept the trailing comma as a language extension, while C89,
the standard we currently follow, forbids it (C99 would allow it).
Could somebody apply the patch - Thanks!
johannes
On Tue, 2009-06-16 at 19:54 +0900, Seiji Masugata wrote:
> Hollo.
>
> Small build problem was found, in PHP5.3.0RC3.
> Please apply this patch.
>
>
> Best Regards,
>
> --
> Seiji Masugata
>
>
> -- ../php-5.3.0RC3,orig/Zend/zend_stream.h 2009-03-12 07:11:53.000000000 +0900
> +++ Zend/zend_stream.h 2009-06-16 15:04:33.000000000 +0900
> @@ -38,7 +38,7 @@
> ZEND_HANDLE_FD,
> ZEND_HANDLE_FP,
> ZEND_HANDLE_STREAM,
> - ZEND_HANDLE_MAPPED,
> + ZEND_HANDLE_MAPPED
> } zend_stream_type;
>
>
>
> -- ../php-5.3.0RC3,orig/ext/reflection/php_reflection.c 2009-05-22 01:01:37.000000000 +0900
> +++ ext/reflection/php_reflection.c 2009-06-16 15:28:48.000000000 +0900
> @@ -191,7 +191,7 @@
> REF_TYPE_OTHER, /* Must be 0 */
> REF_TYPE_FUNCTION,
> REF_TYPE_PARAMETER,
> - REF_TYPE_PROPERTY,
> + REF_TYPE_PROPERTY
> } reflection_type_t;
>
>
>