From 0d9debd6d08cb7991a509776061cc9c7618aec64 Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Sun, 25 Jan 2015 14:23:06 -0600 Subject: 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. --- vms/vmsish.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vms') 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() */ -- cgit v1.2.1