diff options
author | Craig A. Berry <craigberry@mac.com> | 2015-01-25 14:23:06 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2015-01-25 17:08:07 -0600 |
commit | 0d9debd6d08cb7991a509776061cc9c7618aec64 (patch) | |
tree | c1cb9c58df50a908e78ca3320d0bb8c98274b1d8 /vms | |
parent | 019090d2000629cc4f2b8a00be3de64eabe348ef (diff) | |
download | perl-0d9debd6d08cb7991a509776061cc9c7618aec64.tar.gz |
Downgrade missing return warning for VMS C++ compiler.
Without these we get a ton of warnings that look like:
}
^
%CXX-W-MISSINGRETURN, missing return statement at end of non-void function
"S_scan_heredoc"
at line number 9404 in file D0:[craig.blead]toke.c;1
which get escalated to errors at link time and thus break the
build.
Diffstat (limited to 'vms')
-rw-r--r-- | vms/vmsish.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vms/vmsish.h b/vms/vmsish.h index 7c89094d85..f43001357b 100644 --- a/vms/vmsish.h +++ b/vms/vmsish.h @@ -28,7 +28,7 @@ # pragma message disable (ADDRCONSTEXT,NEEDCONSTEXT) #endif #ifdef __DECCXX -# pragma message informational (INTSIGNCHANGE,CASTQUALTYP,ASSCOMMEA,NOCTOBUTCONREFM) +# pragma message informational (INTSIGNCHANGE,CASTQUALTYP,ASSCOMMEA,NOCTOBUTCONREFM,MISSINGRETURN) #endif /* DEC's C compilers and gcc use incompatible definitions of _to(upp|low)er() */ |