From 2f79304db4ac5e4bfc33d2a7815a4e0e99004c5e Mon Sep 17 00:00:00 2001 From: levine Date: Mon, 19 Oct 1998 20:28:31 +0000 Subject: added -Wno-uninitialized with egcs 2.91.x --- TAO/rules.tao.GNU | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'TAO/rules.tao.GNU') diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU index 93133eeee8f..145937b94d3 100644 --- a/TAO/rules.tao.GNU +++ b/TAO/rules.tao.GNU @@ -1,20 +1,27 @@ #---------------------------------------------------------------------------- # -# $Id$ +# $Id$ # -# Common rules for all of TAO +# Common rules for all of TAO # #---------------------------------------------------------------------------- ifndef TAO_IDL -TAO_IDL = $(TAO_ROOT)/TAO_IDL/tao_idl + TAO_IDL = $(TAO_ROOT)/TAO_IDL/tao_idl endif -.SUFFIXES: S.h C.h S.i C.i S.cpp C.cpp +.SUFFIXES: S.h C.h S.i C.i S.cpp C.cpp -%S.h %Ser.h %C.h %Cli.h %S.i %Ser.i %C.i %Cli.i %S.cpp %Ser.cpp %C.cpp %Cli.cpp: %.idl $(TAO_IDL) - $(TAO_IDL) $(TAO_IDLFLAGS) $< +%S.h %Ser.h %C.h %Cli.h %S.i %Ser.i %C.i %Cli.i %S.cpp %Ser.cpp %C.cpp %Cli.cpp: %.idl $(TAO_IDL) + $(TAO_IDL) $(TAO_IDLFLAGS) $< ifeq ($(findstring g++,$(CXX)),g++) CCFLAGS += -Wno-unused + + ifneq ($(findstring egcs-2.91,$(shell g++ --version)),) + #### egcs 2.91.57 seems to go overboard: + #### DynAny_i.cpp:565: warning: `class TAO_DynAny_i * this' might be + #### used uninitialized in this function + CCFLAGS += -Wno-uninitialized + endif # egcs 2.91.x endif # g++ -- cgit v1.2.1