summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_osf1_4.0.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_osf1_4.0.GNU')
-rw-r--r--include/makeinclude/platform_osf1_4.0.GNU17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU
index b42e8f96499..9526765dcd2 100644
--- a/include/makeinclude/platform_osf1_4.0.GNU
+++ b/include/makeinclude/platform_osf1_4.0.GNU
@@ -19,6 +19,7 @@ endif # CXX_VERSION
CXX_1016 =
CXX_1136 =
+CXX_1180 =
ifneq (,$(optimize))
CXX_1016 = ,1016
@@ -32,6 +33,8 @@ ifeq (6.1-,$(findstring 6.1-,$(CXX_VERSION)))
endif # 6.1-029
else # 6.2 or later
CXX_1136 = ,1136
+ #### 6.2-009 has 1180, but 6.2-007 doesn't.
+ CXX_1180 = ,1180
endif # 6.2 or later
endif # ! 6.0
@@ -40,23 +43,21 @@ endif # ! 6.0
#### CXX_VER to CXX_5 either on the make command line, or by
#### or by setting the CXX_VER environment variable to CXX_5.
# WARNING_FLAGS +=
+# 9: nested comment not allowed. But there's one in /usr/include/pdsc.h!
+# 174: expr_has_no_effect
# 193: zero used for undefined preprocessing identifier
# 236: controlling expression is constant
# 401: base_class_with_nonvirtual_dtor
+# 610: nonoverriding_function_decl
# 835: unreferenced_function_param
# 839: no_corresponding_delete (until this is fixed in libTAO)
# 1016: expected type is incompatible with declared type of int (in bzero ())
# 1136: conversion to integral type of smaller size could lose data
+# 1180: statement causes unreachable return
ifneq ($(CXX_VER),CXX_5)
- WARNING_FLAGS += -w0 -msg_display_number -msg_display_tag
+ WARNING_FLAGS += -w0 -msg_display_number
WARNING_FLAGS += \
- -msg_disable 193,236,401,835,839$(CXX_1016)$(CXX_1136)
-
- ifndef ACE_DU_VERSION
- # In case this file wasn't included by platform_osf1_cxx.GNU:
- # 9: nested comment not allowed. But there's one in /usr/include/pdsc.h!
- WARNING_FLAGS += -msg_disable 9
- endif # ACE_DU_VERSION
+ -msg_disable 9,174,193,236,401,610,835,839$(CXX_1016)$(CXX_1136)$(CXX_1180)
endif # 6.0 or later
CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS)