php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60633 build warning
Submitted: 2012-01-01 08:32 UTC Modified: 2013-10-03 06:34 UTC
From: fedora at famillecollet dot com Assigned:
Status: Closed Package: BC math related
PHP Version: 5.4SVN-2012-01-01 (snap) OS: GNU/Linux (Fedora 16)
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: fedora at famillecollet dot com
New email:
PHP Version: OS:

 

 [2012-01-01 08:32 UTC] fedora at famillecollet dot com
Description:
------------
Build warning

Test script:
---------------
make

Expected result:
----------------
No warning


Actual result:
--------------
/home/rpmbuild/BUILD/php5.4-201112300630/ext/bcmath/libbcmath/src/recmul.c: In function '_bc_rec_mul':
/home/rpmbuild/BUILD/php5.4-201112300630/ext/bcmath/libbcmath/src/recmul.c:186:14: warning: variable 'v0len' set but not used [-Wunused-but-set-variable]
/home/rpmbuild/BUILD/php5.4-201112300630/ext/bcmath/libbcmath/src/recmul.c:186:7: warning: variable 'u0len' set but not used [-Wunused-but-set-variable]


Patches

bcmath.patch (last revision 2012-01-01 08:32 UTC by fedora at famillecollet dot com)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-02 09:27 UTC] mike@php.net
-Status: Open +Status: Feedback
 [2013-10-02 09:27 UTC] mike@php.net
Do we already patch this lib, or is it untouched?
 [2013-10-02 09:39 UTC] mike@php.net
-Status: Feedback +Status: Open
 [2013-10-02 09:39 UTC] mike@php.net
Nevermind the last comment.
 [2013-10-03 06:27 UTC] remi@php.net
@Mike, I can't find upstream for this library...

So I don't know if we can fix those "trivial" build warning in the php tree (the reason why I kept this bug open, while I can have commit the patch)
 [2013-10-03 06:34 UTC] mike@php.net
Haha, I couldn't either... :)
Anyway the lib source is full of PHP macros, so I think it's pretty fine if you fix those at hand!
 [2013-10-03 06:45 UTC] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=60d9175280cbab5967966e38f42fced854d10408
Log: Fix Bug #60633 build warning in bcmath
 [2013-10-03 06:45 UTC] remi@php.net
-Status: Open +Status: Closed
 [2013-11-17 09:30 UTC] laruence@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=60d9175280cbab5967966e38f42fced854d10408
Log: Fix Bug #60633 build warning in bcmath
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC