diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-03-26 00:21:30 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-03-26 00:21:30 +0000 |
commit | 3c8a6f8651424ba778d5280d96c18e950c4efb74 (patch) | |
tree | b13518170163458b3f3e49c59bfd9d9aaebcde19 /op.c | |
parent | dd374669df59cc2457708a01ea0f6d332912530b (diff) | |
download | perl-3c8a6f8651424ba778d5280d96c18e950c4efb74.tar.gz |
Need to return something when the compiler doesn't know that a
function is "noreturn".
p4raw-id: //depot/perl@24082
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4845,6 +4845,11 @@ Perl_oopsCV(pTHX_ OP *o) Perl_croak(aTHX_ "NOT IMPL LINE %d",__LINE__); /* STUB */ (void)o; +#ifndef HASATTRIBUTE + /* No __attribute__, so the compiler doesn't know that croak never returns + */ + return 0; +#endif } OP * |