This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
warnings.h does some evil(*) pointer arithmetic on (SV *)0, so a
authorNicholas Clark <nick@ccl4.org>
Sat, 4 Feb 2006 11:10:52 +0000 (11:10 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 4 Feb 2006 11:10:52 +0000 (11:10 +0000)
commit78db725db76314f0edb7f2ab8770841118d8ad2e
treee61ef30d8a076f918b29c97aaeb79e59a640c76a
parente8121b0d0efcf7b0d99f3775e307861be34d07a2
warnings.h does some evil(*) pointer arithmetic on (SV *)0, so a
simple replace of Nullsv with NULL turns out to be a bad idea.
* Technically undefined behaviour, I believe.

p4raw-id: //depot/perl@27078
warnings.h
warnings.pl