diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-28 13:17:41 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-28 13:17:41 +0000 |
commit | 99110ba90431e6696727ae4eec2e9c0a5be137a5 (patch) | |
tree | c88cd3510600b12dd1c3c32ca05e6b01618c9f7c /include | |
parent | 26021b69cfd1ddef578c6195f7a0c457823f1e11 (diff) | |
download | ATCD-99110ba90431e6696727ae4eec2e9c0a5be137a5.tar.gz |
suppress warnings about unreachable statments
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_osf1_4.0.GNU | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/makeinclude/platform_osf1_4.0.GNU b/include/makeinclude/platform_osf1_4.0.GNU index 07caa86e043..ee26fd749c6 100644 --- a/include/makeinclude/platform_osf1_4.0.GNU +++ b/include/makeinclude/platform_osf1_4.0.GNU @@ -1,6 +1,6 @@ # $Id$ -# This platform macros file is intended to work with +# This platform macros file is intended to work with # Digital UNIX 4.0 (OSF/1 4.0). debug = 1 @@ -12,27 +12,28 @@ CFLAGS += -pthread #### These flags can only be used with cxx Version 6.0 and later. # WARNING_FLAGS += # 9: nested comment not allowed, but there's one in /usr/include/pdsc.h +# 111: statement is unreachable # 174: expr_has_no_effect # 193: zero used for undefined preprocessing identifier # 236: controlling expression is constant -# 340: value copied to temporary, reference to temporary used +# 340: value copied to temporary, reference to temporary used # 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,174,193,236,340,401,550,835 +# -msg_disable 9,111,174,193,236,340,401,550,835 CCFLAGS += $(CFLAGS) -ptr ptrepository $(WARNING_FLAGS) DCFLAGS += -g -O0 DLD = $(CXX) LD = $(CXX) -LIBS += -pthread -ltli -lrt -ptr ptrepository +LIBS += $(CFLAGS) -ptr ptrepository -ltli -lrt OCFLAGS += -O4 PIC = ARFLAGS = cruvZ -# When libraries are archived, a hash index is automatically created +# When libraries are archived, a hash index is automatically created # so there is no need for ranlib RANLIB = /usr/bin/true -SOFLAGS = -shared -use_ld_input +SOFLAGS = -shared -use_ld_input SOBUILD = /bin/rm -f $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \ - ln $(VSHDIR)$*.o $@ + ln $(VSHDIR)$*.o $@ |