Re: Compiler Warning with gcc 4.2
| From: | Antony Dovgal | Date: | Wed, 30 Apr 2008 17:52:56 +0000 |
| Subject: | Re: Compiler Warning with gcc 4.2 | ||
| References: | 1 2 3 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-5427@lists.php.net to get a copy of this message | ||
On 30.04.2008 21:49, Tony Ser wrote:
A lot of sample code and tutorial use ZEND_FE The following page uses PHP_FE which maps to ZEND_FE.Right, that's what I meant - PHP_FE should be used in PHP.
The compiler does not like ZEND_FE. If you look at the definition of ZEND_FE -> ZEND_FENTRY (in zend_api.h), I believe the warning is complaining about assigning #zend_name to zend_function_entry.fname which is a char* .Never seen any problems with that. -- Wbr, Antony Dovgal