Re: [PHP4BETA] Priority of compiler warnings?
| From: | Sascha Schumann | Date: | Thu, 08 Jul 1999 20:18:00 +0000 |
| Subject: | Re: [PHP4BETA] Priority of compiler warnings? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1932@lists.php.net to get a copy of this message | ||
On Thu, Jul 08, 1999 at 01:56:05PM -0600, Joey wrote:
> I have a _bunch_ of new "warnings", although it compiles
> fine...
>
> Do we care about these? Where do the fit in the "grand
> scheme"? (ie, "fix after beta 1", or something?).
We will probably have to disable -Wstrict-prototypes since
the ZTS system requires some prototypes to look like
#define PSLS_D
static void php_rshutdown_session_globals(PSLS_D)
{
...
}
(just an example, there are many other)
gcc interprets these as if we simply missed to declare the
function properly and spits out a warning.
There are some other warnings generated by new code. The authors
of the respective code parts probably know about it, and will
hopefully "fix" it.
Everyone who is eager to see all warnings should compile with
--enable-debug --enable-maintainer-mode
> Also, is the TODO file up to date?
Which one?
--
Regards,
Sascha Schumann
Consultant