Re: Compiler Warning with gcc 4.2
| From: | Alexey Zakhlestin | Date: | Wed, 30 Apr 2008 15:32:44 +0000 |
| Subject: | Re: Compiler Warning with gcc 4.2 | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-5423@lists.php.net to get a copy of this message | ||
I believe it is already fixed in 5.3
On Tue, Apr 29, 2008 at 4:11 AM, Tony <tser@deltacontrols.com> wrote:
> Using the gcc 4.2 and later to compile an extension generates quite a few
> warnings.
>
> A typical
> zend_function_entry xxx_functions[] =
> {
> ZEND_FE(Function1, NULL)
> {NULL, NULL, NULL}
> };
>
> generates
>
> warning: deprecated conversion from string constant to 'char*'
>
> Just wonder will these warnings ever get fixed in newer version of the php
> headers ?
>
> Thanks!
> Tony
>
>
>
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/