This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove training whitespace in Pod which can confuse pod/buildtoc
[perl5.git] / warnings.h
index 66a9a0a..ae13187 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- buffer-read-only: t -*-
    !!!!!!!   DO NOT EDIT THIS FILE   !!!!!!!
-   This file is built by warnings.pl
+   This file is built by regen/warnings.pl
    Any changes made here will be lost!
 */
 
 #define WARN_UTF8              44
 #define WARN_VOID              45
 
+/* Warnings Categories added in Perl 5.011 */
+
+#define WARN_IMPRECISION       46
+#define WARN_ILLEGALPROTO      47
+
 #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 ckWARN3_d(w1,w2,w3)    Perl_ckwarn_d(aTHX_ packWARN3(w1,w2,w3))
 #define ckWARN4_d(w1,w2,w3,w4) Perl_ckwarn_d(aTHX_ packWARN4(w1,w2,w3,w4))
 
+#define WARNshift              8
+
 #define packWARN(a)            (a                                      )
 #define packWARN2(a,b)         ((a) | ((b)<<8)                         )
 #define packWARN3(a,b,c)       ((a) | ((b)<<8) | ((c)<<16)             )