Re: Compiler Warning with gcc 4.2

From: Date: Wed, 30 Apr 2008 17:25:18 +0000
Subject: Re: Compiler Warning with gcc 4.2
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5424@lists.php.net to get a copy of this message
On 29.04.2008 04:11, Tony 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 ?
My GCC 4.3.0 doesn't generate any warnings in this case. And even if 4.2.0 does, I'm unable to guess which particular line it doesn't like and you forgot to mention it. -- Wbr, Antony Dovgal

« previous php.pecl.dev (#5424) next »