diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-01-17 14:23:48 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-01-17 14:23:48 +0000 |
commit | b88df9907a8d7b4fae1100629cc85633a901355e (patch) | |
tree | e35854a88b02ec9918a3d40d52b734e1954de901 /warnings.h | |
parent | f3828575f121139b95363dc2ba6aab15ad201a85 (diff) | |
download | perl-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.h')
-rw-r--r-- | warnings.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/warnings.h b/warnings.h index 66a9a0a65d..8f891a7511 100644 --- a/warnings.h +++ b/warnings.h @@ -76,6 +76,10 @@ #define WARN_UTF8 44 #define WARN_VOID 45 +/* Warnings Categories added in Perl 5.011 */ + +#define WARN_IMPRECISION 46 + #define WARNsize 12 #define WARN_ALLstring "\125\125\125\125\125\125\125\125\125\125\125\125" #define WARN_NONEstring "\0\0\0\0\0\0\0\0\0\0\0\0" |