From:             [EMAIL PROTECTED]
Operating system: Ubuntu 7.10
PHP version:      5.3CVS-2008-04-15 (CVS)
PHP Bug Type:     JSON related
Bug description:  json.c:426: warning: unknown conversion type character 'k' in 
format 

Description:
------------
My build log for PHP 5.3 shows this in json.c:
 
gcc -Iext/json/ -I/home/cjones/phpsrc/php53/ext/json/ -DPHP_ATOM_INC
-I/home/cjones/phpsrc/php53/include -I/home/cjones/phpsrc/php53/main
-I/home/cjones/phpsrc/php53 -I/home/cjones/phpsrc/php53/ext/ereg/regex
-I/usr/include/libxml2 -I/home/cjones/phpsrc/php53/ext/date/lib
-I/home/cjones/instantclient_10_2/sdk/include
-I/home/cjones/phpsrc/php53/TSRM -I/home/cjones/phpsrc/php53/Zend
-I/usr/include -g -fvisibility=hidden -O0 -Wall -c
/home/cjones/phpsrc/php53/ext/json/json.c -o ext/json/.libs/json.o
/home/cjones/phpsrc/php53/ext/json/json.c: In function 'json_encode_r':
/home/cjones/phpsrc/php53/ext/json/json.c:426: warning: unknown conversion
type character 'k' in format
/home/cjones/phpsrc/php53/ext/json/json.c:426: warning: too many arguments
for format

The same warning occurs on Ubuntu 7.10 and RHEL 4.  It also occurs with
PHP 5.2.

My config.nice contains:

'./configure' \
'--prefix=/home/cjones/php53_10' \
'--with-apxs2=/home/cjones/apache/bin/apxs' \
'--enable-debug' \
'--with-gd' \
'--with-zlib' \
'--with-oci8=instantclient,/home/cjones/instantclient_10_2' \
'--enable-sigchild' \
"$@"




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

Reply via email to