Compiler Warnings from gcc 4.2.0
| From: | Tony Ser | Date: | Wed, 30 Apr 2008 15:18:43 +0000 |
| Subject: | Compiler Warnings from gcc 4.2.0 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5421@lists.php.net to get a copy of this message | ||
Using gcc 4.2 and later to compile a php extension will generate quite a few warnings.
A typical zend_function_entry
zend_function_entry xxx_functions[] =
{
ZEND_FE(Function1, NULL)
{NULL, NULL, NULL}
};
Will generate
warning: deprecated conversion from string constant to 'char*'
Just wonder will these warning be fixed in newer version of php headers ?
Thanks!
Tony