summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-07-12 03:27:28 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-12 03:27:28 +0000
commita86a20aad3dee6ffff452254654a89df75943779 (patch)
tree6ab14e31665a822c5612ed4b3bb392a33eab66a2 /warnings.h
parentc89df6bff3e1d35ec00d05ede1265446fbb1d8c0 (diff)
downloadperl-a86a20aad3dee6ffff452254654a89df75943779.tar.gz
Retract #11166 (and #11237).
p4raw-id: //depot/perl@11285
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h100
1 files changed, 49 insertions, 51 deletions
diff --git a/warnings.h b/warnings.h
index f6dc1625a9..f6814e78c4 100644
--- a/warnings.h
+++ b/warnings.h
@@ -23,58 +23,56 @@
#define specialWARN(x) ((x) == pWARN_STD || (x) == pWARN_ALL || \
(x) == pWARN_NONE)
#define WARN_ALL 0
-#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 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 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 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 isLEXWARN_on (PL_curcop->cop_warnings != pWARN_STD)
#define isLEXWARN_off (PL_curcop->cop_warnings == pWARN_STD)