Bug#893601: libperl5.26: printf_format_null Configure test is broken on 64-bits

Niko Tyni ntyni at debian.org
Sat Mar 24 14:57:26 UTC 2018


Control: forwarded -1 https://github.com/perl5-metaconfig/metaconfig/pull/53

On Tue, Mar 20, 2018 at 10:23:32AM +0000, James Cowgill wrote:
> Package: libperl5.26
> Version: 5.26.1-5
> Severity: normal
> Tags: patch
 
>  int null_printf (char* pat,...) { return (int)pat; }
> 
> GCC complains about the pointer to integer cast of the wrong size but
> only on 64-bits. I've attached a patch to fix this by casting through
> intptr_t first.

Many thanks for catching this and providing a patch!

I've forwarded it upstream, will apply with the next upload.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list