Package: libsyntax-keyword-multisub-perl / 0.05-1
Metadata
Package | Version | Patches format |
---|---|---|
libsyntax-keyword-multisub-perl | 0.05-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
0001 Fix formatting an IV variable.patch | (download) |
lib/Syntax/Keyword/MultiSub.xs |
2 1 + 1 - 0 ! |
[patch] fix formatting an iv variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch fixes this compiler warning: gcc -I/usr/lib64/perl5/CORE -DVERSION="0.02" -DXS_VERSION="0.02" -fPIC -I. -Ihax -ggdb -I. -c -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-g cc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASS ERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/us r/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o lib/Syntax/Keyword/MultiSub.o lib/Syntax/Keyword/MultiSub.c lib/Syntax/Keyword/MultiSub.xs: In function 'pp_dispatch_multisub': lib/Syntax/Keyword/MultiSub.xs:52:11: warning: format '%d' expects argument of type 'int', but argument 4 has type 'IV' {aka 'long int'} [-Wformat=] 52 | croak("Unable to find a function body for a call to &%s::%s having %d arguments", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 | HvNAME(CvSTASH(runcv)), GvNAME(CvGV(runcv)), nargs); | ~~~~~ | | | IV {aka long int} Signed-off-by: Petr Psa <ppisar@redhat.com> Bug: https://rt.cpan.org/Public/Bug/Display.html?id=140687 Bug-Debian: https://bugs.debian.org/1025880 |
1