summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avar@cpan.org>2014-01-19 14:58:02 +0000
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>2014-06-21 13:54:22 +0000
commit3664866ee329279683fd8c71e52e5983da4272dd (patch)
tree95050b402ac4538196e36d3a4dfdd5a2a5b76125 /warnings.h
parent0c60e3193cada7eee789f68009742a6f1c55c0ac (diff)
downloadperl-3664866ee329279683fd8c71e52e5983da4272dd.tar.gz
Split up the fake "missing" warning category into an actual category
Ever since the warning for missing printf arguments was added in v5.11.2-116-g7baa469 the "missing" warning category has been defined in terms of the "uninitialized" category, so you couldn't turn it on/off independently of that. As discussed in RT #121025 I'm hacking on adding a new "reduntant" category for too many printf arguments. So add the long-missing "missing" category in preparation for that for consistency.
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/warnings.h b/warnings.h
index 5bbb691edd..a5bd2391ec 100644
--- a/warnings.h
+++ b/warnings.h
@@ -105,6 +105,7 @@
/* Warnings Categories added in Perl 5.021 */
#define WARN_EXPERIMENTAL__WIN32_PERLIO 60
+#define WARN_MISSING 61
#define WARNsize 16
#define WARN_ALLstring "\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125"