From 886de27ee94f3bc0e123179aaf0e758a830928c3 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Fri, 6 Jul 2001 15:57:16 +0000 Subject: The #11166 needed also these updated. p4raw-id: //depot/perl@11182 --- warnings.h | 100 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 51 insertions(+), 49 deletions(-) (limited to 'warnings.h') diff --git a/warnings.h b/warnings.h index f6814e78c4..f6dc1625a9 100644 --- a/warnings.h +++ b/warnings.h @@ -23,56 +23,58 @@ #define specialWARN(x) ((x) == pWARN_STD || (x) == pWARN_ALL || \ (x) == pWARN_NONE) #define WARN_ALL 0 -#define WARN_CHMOD 1 -#define WARN_CLOSURE 2 -#define WARN_EXITING 3 -#define WARN_GLOB 4 -#define WARN_IO 5 -#define WARN_CLOSED 6 -#define WARN_EXEC 7 -#define WARN_NEWLINE 8 -#define WARN_PIPE 9 -#define WARN_UNOPENED 10 -#define WARN_MISC 11 -#define WARN_NUMERIC 12 -#define WARN_ONCE 13 -#define WARN_OVERFLOW 14 -#define WARN_PACK 15 -#define WARN_PORTABLE 16 -#define WARN_RECURSION 17 -#define WARN_REDEFINE 18 -#define WARN_REGEXP 19 -#define WARN_SEVERE 20 -#define WARN_DEBUGGING 21 -#define WARN_INPLACE 22 -#define WARN_INTERNAL 23 -#define WARN_MALLOC 24 -#define WARN_SIGNAL 25 -#define WARN_SUBSTR 26 -#define WARN_SYNTAX 27 -#define WARN_AMBIGUOUS 28 -#define WARN_BAREWORD 29 -#define WARN_DEPRECATED 30 -#define WARN_DIGIT 31 -#define WARN_PARENTHESIS 32 -#define WARN_PRECEDENCE 33 -#define WARN_PRINTF 34 -#define WARN_PROTOTYPE 35 -#define WARN_QW 36 -#define WARN_RESERVED 37 -#define WARN_SEMICOLON 38 -#define WARN_TAINT 39 -#define WARN_UMASK 40 -#define WARN_UNINITIALIZED 41 -#define WARN_UNPACK 42 -#define WARN_UNTIE 43 -#define WARN_UTF8 44 -#define WARN_VOID 45 -#define WARN_Y2K 46 +#define WARN_CLOSURE 1 +#define WARN_EXITING 2 +#define WARN_GLOB 3 +#define WARN_IO 4 +#define WARN_CLOSED 5 +#define WARN_EXEC 6 +#define WARN_NEWLINE 7 +#define WARN_PIPE 8 +#define WARN_UNOPENED 9 +#define WARN_MISC 10 +#define WARN_NUMERIC 11 +#define WARN_OCTMODE 12 +#define WARN_CHMOD 13 +#define WARN_MKDIR 14 +#define WARN_UMASK 15 +#define WARN_ONCE 16 +#define WARN_OVERFLOW 17 +#define WARN_PACK 18 +#define WARN_PORTABLE 19 +#define WARN_RECURSION 20 +#define WARN_REDEFINE 21 +#define WARN_REGEXP 22 +#define WARN_SEVERE 23 +#define WARN_DEBUGGING 24 +#define WARN_INPLACE 25 +#define WARN_INTERNAL 26 +#define WARN_MALLOC 27 +#define WARN_SIGNAL 28 +#define WARN_SUBSTR 29 +#define WARN_SYNTAX 30 +#define WARN_AMBIGUOUS 31 +#define WARN_BAREWORD 32 +#define WARN_DEPRECATED 33 +#define WARN_DIGIT 34 +#define WARN_PARENTHESIS 35 +#define WARN_PRECEDENCE 36 +#define WARN_PRINTF 37 +#define WARN_PROTOTYPE 38 +#define WARN_QW 39 +#define WARN_RESERVED 40 +#define WARN_SEMICOLON 41 +#define WARN_TAINT 42 +#define WARN_UNINITIALIZED 43 +#define WARN_UNPACK 44 +#define WARN_UNTIE 45 +#define WARN_UTF8 46 +#define WARN_VOID 47 +#define WARN_Y2K 48 -#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" +#define WARNsize 13 +#define WARN_ALLstring "\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" #define isLEXWARN_on (PL_curcop->cop_warnings != pWARN_STD) #define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD) -- cgit v1.2.1