From: jf at netmadeira dot com
Operating system: linux
PHP version: 5.3CVS-2009-05-20 (snap)
PHP Bug Type: Compile Warning
Bug description: implicit declaration of built-in function 'llabs'
Description:
------------
Received this compile warming while compilling:
(...)/php_date.c: In function 'date_format':
(...)/php_date.c:1040: warning: incompatible implicit declaration of
built-in function 'llabs'
So did a grep -R llabs ./ and get:
./win32/php_stdint.h:static __inline int64_t llabs( int64_t i ) { return i
>= 0? i: -i; }
./ext/date/php_date.c: case 'Y': length = slprintf(buffer, 32,
"%s%04ld", t->y < 0 ? "-" : "", llabs((timelib_sll) t->y)); break;
./ext/fileinfo/tests/magic:# from Ruda Moura <[email protected]>
it seems llabs its only available for windows, is this right ??
Can I filter all warmings, I spotted this one because I canceled
compilation right in begining and seen that, but in midle of all those
lines can't spot nothing more..
Regards
Reproduce code:
---------------
grep -R llabs ./ in php package source.
--
Edit bug report at http://bugs.php.net/?id=48342&edit=1
--
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=48342&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=48342&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=48342&r=trysnapshot60
Fixed in CVS:
http://bugs.php.net/fix.php?id=48342&r=fixedcvs
Fixed in CVS and need be documented:
http://bugs.php.net/fix.php?id=48342&r=needdocs
Fixed in release:
http://bugs.php.net/fix.php?id=48342&r=alreadyfixed
Need backtrace:
http://bugs.php.net/fix.php?id=48342&r=needtrace
Need Reproduce Script:
http://bugs.php.net/fix.php?id=48342&r=needscript
Try newer version:
http://bugs.php.net/fix.php?id=48342&r=oldversion
Not developer issue:
http://bugs.php.net/fix.php?id=48342&r=support
Expected behavior:
http://bugs.php.net/fix.php?id=48342&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=48342&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=48342&r=submittedtwice
register_globals:
http://bugs.php.net/fix.php?id=48342&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48342&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48342&r=dst
IIS Stability:
http://bugs.php.net/fix.php?id=48342&r=isapi
Install GNU Sed:
http://bugs.php.net/fix.php?id=48342&r=gnused
Floating point limitations:
http://bugs.php.net/fix.php?id=48342&r=float
No Zend Extensions:
http://bugs.php.net/fix.php?id=48342&r=nozend
MySQL Configuration Error:
http://bugs.php.net/fix.php?id=48342&r=mysqlcfg