Bug #52849 [Opn]: GMP extension has invalid version match
| From: | jariberg at gmail dot com | Date: | Wed, 15 Sep 2010 08:44:23 +0000 |
| Subject: | Bug #52849 [Opn]: GMP extension has invalid version match | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154386@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52849&edit=1
ID: 52849
User updated by: jariberg at gmail dot com
Reported by: jariberg at gmail dot com
-Summary: Invalid version match
+Summary: GMP extension has invalid version match
Status: Open
Type: Bug
Package: GNU MP related
Operating System: All
PHP Version: 5.3.3
Block user comment: N
New Comment:
Changed summary text
Previous Comments:
------------------------------------------------------------------------
[2010-09-15 10:40:47] jariberg at gmail dot com
Description:
------------
in PHP's ext/gmp/gmp.c file the GNU_MP version match is invalid:
The current GNU MP version match only takes into account if the
installed GMP
version is < 5.0.
Original code:
__GNU_MP_VERSION >= 4 && __GNU_MP_VERSION_MINOR >= 2
Correct code:
(((__GNU_MP_VERSION >= 4) && (__GNU_MP_VERSION_MINOR >= 2)) ||
(__GNU_MP_VERSION
>= 5))
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52849&edit=1