https://bugzilla.redhat.com/show_bug.cgi?id=1242980

Petr Pisar <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Compiler warnings in        |-Wcast-qual compiler
                   |hv_func.h                   |warnings in hv_func.h



--- Comment #4 from Petr Pisar <[email protected]> ---
Reproducer:

$ printf '#include "EXTERN.h"\n#include "perl.h"\n' | gcc -Wcast-qual
-I/usr/lib64/perl5/CORE -c -x c -
In file included from /usr/lib64/perl5/CORE/hv.h:629:0,
                 from /usr/lib64/perl5/CORE/perl.h:3740,
                 from <stdin>:2:
/usr/lib64/perl5/CORE/hv_func.h: In function ‘S_perl_hash_siphash_2_4’:
/usr/lib64/perl5/CORE/hv_func.h:213:17: warning: cast discards ‘const’
qualifier from pointer target type [-Wcast-qual]
   U64TYPE k0 = ((U64TYPE*)seed)[0];
                 ^
et cetera.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to