summaryrefslogtreecommitdiff
path: root/warnings.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-01-17 14:23:48 +0000
committerNicholas Clark <nick@ccl4.org>2008-01-17 14:23:48 +0000
commitb88df9907a8d7b4fae1100629cc85633a901355e (patch)
treee35854a88b02ec9918a3d40d52b734e1954de901 /warnings.pl
parentf3828575f121139b95363dc2ba6aab15ad201a85 (diff)
downloadperl-b88df9907a8d7b4fae1100629cc85633a901355e.tar.gz
warn if ++ or -- are unable to change the value because it's beyond
the limit of representation in NVs, using a new warnings category "imprecision". p4raw-id: //depot/perl@32990
Diffstat (limited to 'warnings.pl')
-rw-r--r--warnings.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/warnings.pl b/warnings.pl
index 4168c5871a..97d5d14bab 100644
--- a/warnings.pl
+++ b/warnings.pl
@@ -61,6 +61,7 @@ my $tree = {
'pack' => [ 5.008, DEFAULT_OFF],
'unpack' => [ 5.008, DEFAULT_OFF],
'threads' => [ 5.008, DEFAULT_OFF],
+ 'imprecision' => [ 5.011, DEFAULT_OFF],
#'default' => [ 5.008, DEFAULT_ON ],
}],