From:             adam at trachtenberg dot com
Operating system: Mac OS X
PHP version:      5CVS-2003-10-21 (dev)
PHP Bug Type:     Compile Failure
Bug description:  Can't compile snprintf.c

Description:
------------
Trying to compile latest CVS on Mac OS X and PHP is 
barfing on snprint.c. I think this comes from the 
changes made on Sun Sep 14 05:12:54 2003.

Actual result:
--------------
gcc  -Imain/ -I/usr/local/cvs/php/php-src/main/ -
DPHP_ATOM_INC -I/usr/local/cvs/php/php-src/include -I/
usr/local/cvs/php/php-src/main -I/usr/local/cvs/php/
php-src -I/usr/local/cvs/php/php-src/Zend -I/sw/include 
-I/sw/include/libxml2 -I/usr/local/mysql/include -I/
usr/local/include  -no-cpp-precomp -I/usr/local/cvs/
php/php-src/TSRM  -g -Wall  -c /usr/local/cvs/php/php-
src/main/snprintf.c -o main/snprintf.o  && echo > main/
snprintf.lo
cc1: warning: changing search order for system 
directory "/usr/local/include"
cc1: warning:   as it has already been specified as a 
non-system directory
/usr/local/cvs/php/php-src/main/snprintf.c: In function 
`format_converter':
/usr/local/cvs/php/php-src/main/snprintf.c:750: parse 
error before "uintmax_t"
/usr/local/cvs/php/php-src/main/snprintf.c:792: parse 
error before "intmax_t"
/usr/local/cvs/php/php-src/main/snprintf.c:837: parse 
error before "uintmax_t"
/usr/local/cvs/php/php-src/main/snprintf.c:877: parse 
error before "uintmax_t"
/usr/local/cvs/php/php-src/main/snprintf.c:916: 
warning: use of `long double' type; its size may change 
in a future release
/usr/local/cvs/php/php-src/main/snprintf.c:916: 
warning: (Long double usage is reported only once for 
each file.
/usr/local/cvs/php/php-src/main/snprintf.c:916: 
warning: To disable this warning, use -Wno-long-
double.)
make: *** [main/snprintf.lo] Error 1

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

Reply via email to