#25147 [Opn->Bgs]: CC=gcc -Werror causes build fail
| From: | helly@php.net | Date: | Tue, 19 Aug 2003 19:34:40 +0000 |
| Subject: | #25147 [Opn->Bgs]: CC=gcc -Werror causes build fail | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46247@lists.php.net to get a copy of this message | ||
ID: 25147
Updated by: helly@php.net
Reported By: burlybutler at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: *Compile Issues
-Operating System: Unix (probably any)
+Operating System: *
PHP Version: Irrelevant
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
We sometimes use this to find warnings that are really errors and on
the other hand we can't fix all warnings because not every compiler (in
this case especially gcc) doesn't understand every code good enough.
For example some compilers don't build up their compiler tree detailed
enough to be abel to see all execution paths ...
Therefor any bug related to -Werror is bogus
Besides that we can't hinder you from miscongiguring your system in
anyway possible.
Previous Comments:
------------------------------------------------------------------------
[2003-08-19 08:04:46] burlybutler at hotmail dot com
Description:
------------
It may be obvious to many, but I recently was stuck when compiling php
because I'd forgotten my CC setting was gcc -Werror.
Perhaps in your configure script you could check for this (and warn),
which would help some inexperienced people?
First I got a warning/error at var_unserializer.c:308 (I think this has
been around some time) but then more confusingly it caused the Makefile
to be written without -lm (due to a warning in the maths library sin
test) causing make to fail, without an obvious cause to the
inexperienced!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25147&edit=1