summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-10-27 21:02:38 -0600
committerKarl Williamson <khw@cpan.org>2014-11-04 09:35:10 -0700
commitf809440b17ffdfe5eae57d5448d30f3ce6a72874 (patch)
tree6901944bde7e254a6ff2213ce4a85ae95c5f2f84 /warnings.h
parent1e8db68a2c3919cf9d6a13d441408c3b71cb7464 (diff)
downloadperl-f809440b17ffdfe5eae57d5448d30f3ce6a72874.tar.gz
Add 'locale' warning category
This category will be used in future commits for warnings that are entirely because of locale issues.
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/warnings.h b/warnings.h
index b288bd50d4..7495f82737 100644
--- a/warnings.h
+++ b/warnings.h
@@ -106,12 +106,13 @@
#define WARN_EXPERIMENTAL__REFALIASING 60
#define WARN_EXPERIMENTAL__WIN32_PERLIO 61
-#define WARN_MISSING 62
-#define WARN_REDUNDANT 63
+#define WARN_LOCALE 62
+#define WARN_MISSING 63
+#define WARN_REDUNDANT 64
-#define WARNsize 16
-#define WARN_ALLstring "\125\125\125\125\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\0\0\0\0"
+#define WARNsize 17
+#define WARN_ALLstring "\125\125\125\125\125\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\0\0\0\0\0"
#define isLEXWARN_on (PL_curcop->cop_warnings != pWARN_STD)
#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD)