From:             vapier at gentoo dot org
Operating system: ia64 / linux
PHP version:      5CVS-2005-02-01 (dev)
PHP Bug Type:     Compile Failure
Bug description:  Zend/zend_strtod.c contains invalid pre-processing error info

Description:
------------
in ZendEngine2/zend_strtod.c in php-5.0 cvs at around line 233, there is a
sanity check to make sure that certain combinations of defines don't exist
... if they do, a helpful error message is supposed to be dumped:
Exactly one of IEE_LITTLE_ENDIAN ...

however, if you should ever hit this bad mojo, your compiler will spout
ugly looking parser errors

the statement should be prefixed with '#error ' so that the compiler will
dump the helpful message rather than unhelpful crap :)

since the message is wrapped across two lines, a \ will be needed too


-- 
Edit bug report at http://bugs.php.net/?id=31786&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31786&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31786&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31786&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31786&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31786&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31786&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31786&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31786&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31786&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31786&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31786&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31786&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31786&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31786&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31786&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31786&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31786&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31786&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31786&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31786&r=mysqlcfg

Reply via email to