diff options
author | Tony Cook <tony@develop-help.com> | 2014-06-03 16:56:40 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-06-10 10:29:22 +1000 |
commit | 7ac929242683a823b48fb2fae8e9fa6be059fa5a (patch) | |
tree | 9ae8741f7b23aab9d0ebdfa83d01c3cf55341c40 /warnings.h | |
parent | 3442c4b3e005f425ea32c16225fbf4bd0cb1fb54 (diff) | |
download | perl-7ac929242683a823b48fb2fae8e9fa6be059fa5a.tar.gz |
add a warning for using the :win32 PerlIO layer
Diffstat (limited to 'warnings.h')
-rw-r--r-- | warnings.h | 10 |
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) |