summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2014-06-03 16:56:40 +1000
committerTony Cook <tony@develop-help.com>2014-06-10 10:29:22 +1000
commit7ac929242683a823b48fb2fae8e9fa6be059fa5a (patch)
tree9ae8741f7b23aab9d0ebdfa83d01c3cf55341c40 /warnings.h
parent3442c4b3e005f425ea32c16225fbf4bd0cb1fb54 (diff)
downloadperl-7ac929242683a823b48fb2fae8e9fa6be059fa5a.tar.gz
add a warning for using the :win32 PerlIO layer
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/warnings.h b/warnings.h
index 66e4153d6b..5bbb691edd 100644
--- a/warnings.h
+++ b/warnings.h
@@ -102,9 +102,13 @@
#define WARN_EXPERIMENTAL__SIGNATURES 58
#define WARN_SYSCALLS 59
-#define WARNsize 15
-#define WARN_ALLstring "\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"
+/* Warnings Categories added in Perl 5.021 */
+
+#define WARN_EXPERIMENTAL__WIN32_PERLIO 60
+
+#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 isLEXWARN_on (PL_curcop->cop_warnings != pWARN_STD)
#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD)