Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318494 Details for
Bug 427040
perl-core/Math-BigInt-1.997.0 "overload arg '..' is invalid" warning
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to suppress warnings while setting up overloads
Math-BigInt-1.997.0_suppress_overload_warning.patch (text/plain), 883 bytes, created by
Hank Leininger
on 2012-07-18 01:03:31 UTC
(
hide
)
Description:
Patch to suppress warnings while setting up overloads
Filename:
MIME Type:
Creator:
Hank Leininger
Created:
2012-07-18 01:03:31 UTC
Size:
883 bytes
patch
obsolete
>diff -u Math-BigInt-1.997/lib/Math/BigInt.pm Math-BigInt-1.997-r1/lib/Math/BigInt.pm >--- Math-BigInt-1.997/lib/Math/BigInt.pm 2011-09-03 02:26:41.000000000 -0400 >+++ Math-BigInt-1.997-r1/lib/Math/BigInt.pm 2012-07-17 20:32:26.630203065 -0400 >@@ -40,6 +40,9 @@ > # Thus inheritance of overload operators becomes possible and transparent for > # our subclasses without the need to repeat the entire overload section there. > >+# https://github.com/ilmari/perl/commit/5e0688b6067afdfb59fdfa9923e658ed40c9f246 >+# We register ops that are not registerable yet, so suppress warnings >+{ no warnings; > use overload > '=' => sub { $_[0]->copy(); }, > >@@ -151,6 +154,7 @@ > '""' => sub { $_[0]->bstr(); }, > '0+' => sub { $_[0]->numify(); } > ; >+} # no warnings scope > > ############################################################################## > # global constants, flags and accessory
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 427040
: 318494 |
318496