From:             burlybutler at hotmail dot com
Operating system: Unix (probably any)
PHP version:      Irrelevant
PHP Bug Type:     *Compile Issues
Bug description:  CC=gcc -Werror causes build fail

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 bug report at http://bugs.php.net/?id=25147&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25147&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25147&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25147&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25147&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25147&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25147&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25147&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25147&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25147&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25147&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25147&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25147&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25147&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25147&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25147&r=gnused

Reply via email to