diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-04 15:58:35 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-04 15:58:35 +0000 |
commit | cd26da9a69bd39819070d1ffacba5b84a859cba2 (patch) | |
tree | d059812b44ef6371885ea16918492d6a8f38618d /include/makeinclude/platform_osf1_4.0.GNU | |
parent | 03d108a30917261a937eb6d8c1eb1852084e249c (diff) | |
download | ATCD-cd26da9a69bd39819070d1ffacba5b84a859cba2.tar.gz |
allow enabling WARNING_FLAGS by setting CXX_VER to POST_5X
Diffstat (limited to 'include/makeinclude/platform_osf1_4.0.GNU')
-rw-r--r-- | include/makeinclude/platform_osf1_4.0.GNU | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU index 84b611af5bb..13e089df3d2 100644 --- a/include/makeinclude/platform_osf1_4.0.GNU +++ b/include/makeinclude/platform_osf1_4.0.GNU @@ -10,6 +10,8 @@ CXX = $(CC) CFLAGS += -pthread #### These flags can only be used with cxx Version 6.0 and later. +#### They can be enabled on the gmake command line with CXX_VER=POST_5X, +#### or by setting the CXX_VER environment variable to POST_5X. # WARNING_FLAGS += # 9: nested comment not allowed, but there's one in /usr/include/pdsc.h # 111: statement is unreachable @@ -20,8 +22,10 @@ CFLAGS += -pthread # 401: base_class_with_nonvirtual_dtor # 550: set_but_not_used # 835: unreferenced_function_param -# WARNING_FLAGS += -w0 -msg_display_number -msg_display_tag \ -# -msg_disable 9,111,174,193,236,340,401,550,835 +ifeq ($(CXX_VER),POST_5X) + WARNING_FLAGS += -w0 -msg_display_number -msg_display_tag \ + -msg_disable 9,111,174,193,236,340,401,550,835 +endif CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS) DCFLAGS += -g -O0 |