ID: 50930
Updated by: jani@php.net
Reported By: nathan dot kessler at hushmail dot me
Status: Assigned
Bug Type: Date/time related
Operating System: SuSE 7.3 i386 / gcc version 2.95
PHP Version: 5.*, 6
Assigned To: jani
New Comment:
Oops, that bug was no warning but an error. So can't really just
revert..
Previous Comments:
------------------------------------------------------------------------
[2010-02-03 23:26:34] jani@php.net
I'm considering reverting the patch for fixing bug #50266 since that
was only a warning anyway..need to investigate a bit more though.
------------------------------------------------------------------------
[2010-02-03 22:47:21] nathan dot kessler at hushmail dot me
It's defined with 1:
/* Define if you have the llabs function. */
#define HAVE_LLABS 1
------------------------------------------------------------------------
[2010-02-03 22:27:26] jani@php.net
What exactly is HAVE_LLABS defined in your main/php_config.h file? (in
the build)
------------------------------------------------------------------------
[2010-02-03 21:57:10] jani@php.net
Some links to help out a bit:
http://svn.php.net/viewvc/?view=revision&revision=291371
------------------------------------------------------------------------
[2010-02-03 21:53:43] jani@php.net
This is same thing as reported in bug #50899 and since this is much
better report, closing that one in favor of this.
llabs() is C99, so I guess that ancient GCC does not support it. I'd
suggest upgrading the compiler as first thing you do. Many other things
will break in future PHP versions as well if you stick with that. :)
I'll look into this, but since I don't have such old compiler around,
this might take a while.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50930--
Edit this bug report at http://bugs.php.net/?id=50930&edit=1