Compiler Warning with gcc 4.2
| From: | Tony | Date: | Tue, 29 Apr 2008 00:11:20 +0000 |
| Subject: | Compiler Warning with gcc 4.2 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5422@lists.php.net to get a copy of this message | ||
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