diff options
author | James Mastros <theorb@desert-island.me.uk> | 2009-06-06 20:46:21 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-06-27 16:41:00 +0200 |
commit | fe13d51d6409065a0214793b416a2eb3fe209949 (patch) | |
tree | c03b23501d91904230b9c1f81bbd638271d46325 /perl.h | |
parent | 0e637710e635c1f42e13242e1ea416e9304090f6 (diff) | |
download | perl-fe13d51d6409065a0214793b416a2eb3fe209949.tar.gz |
Add test to make sure everything that outputs an exception or warning has a matching entry in perldiag (and fix it so that more of the existing ones do).
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1027,6 +1027,7 @@ EXTERN_C int usleep(unsigned int); # define MALLOC_CHECK_TAINT(argc,argv,env) #endif /* MYMALLOC */ +/* diag_listed_as: "-T" is on the #! line, it must also be used on the command line */ #define TOO_LATE_FOR_(ch,what) Perl_croak(aTHX_ "\"-%c\" is on the #! line, it must also be used on the command line%s", (char)(ch), what) #define TOO_LATE_FOR(ch) TOO_LATE_FOR_(ch, "") #define MALLOC_TOO_LATE_FOR(ch) TOO_LATE_FOR_(ch, " with $ENV{PERL_MALLOC_OPT}") |