simple replace of Nullsv with NULL turns out to be a bad idea.
* Technically undefined behaviour, I believe.
p4raw-id: //depot/perl@27078
#define G_WARN_ALL_MASK (G_WARN_ALL_ON|G_WARN_ALL_OFF)
#define pWARN_STD NULL
-#define pWARN_ALL (NULL+1) /* use warnings 'all' */
-#define pWARN_NONE (NULL+2) /* no warnings 'all' */
+#define pWARN_ALL (((SV*)0)+1) /* use warnings 'all' */
+#define pWARN_NONE (((SV*)0)+2) /* no warnings 'all' */
#define specialWARN(x) ((x) == pWARN_STD || (x) == pWARN_ALL || \
(x) == pWARN_NONE)
#define G_WARN_ALL_MASK (G_WARN_ALL_ON|G_WARN_ALL_OFF)
#define pWARN_STD NULL
-#define pWARN_ALL (NULL+1) /* use warnings 'all' */
-#define pWARN_NONE (NULL+2) /* no warnings 'all' */
+#define pWARN_ALL (((SV*)0)+1) /* use warnings 'all' */
+#define pWARN_NONE (((SV*)0)+2) /* no warnings 'all' */
#define specialWARN(x) ((x) == pWARN_STD || (x) == pWARN_ALL || \
(x) == pWARN_NONE)