diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-05 18:52:11 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-05 18:52:11 +0000 |
commit | 705f0b33742e2f7f34d2daf94b3a30a432c621c5 (patch) | |
tree | 79edbe3eaad029949f32ba83e4a035d8fd27a1a4 /TAO/rules.tao.GNU | |
parent | ccf3d9c5f3e974c622c187ba0e21c77812d3f752 (diff) | |
download | ATCD-705f0b33742e2f7f34d2daf94b3a30a432c621c5.tar.gz |
replaced -Wno-used for g++, but just for pre-2.8. It has many
complaints about unused parameters in generated code.
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r-- | TAO/rules.tao.GNU | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU index 1863f853d77..6553d3e4914 100644 --- a/TAO/rules.tao.GNU +++ b/TAO/rules.tao.GNU @@ -44,6 +44,11 @@ endif # TAO_ORBSVCS #### Macro customization. #### ifeq ($(findstring g++,$(CXX)),g++) + ifeq ($(ACE_HAS_GNUG_PRE_2_8),1) + #### g++ < 2.8 complains about unused parameters in generated code. + CCFLAGS += -Wno-unused + endif # g++ < 2.8 + ifneq ($(findstring egcs-2.91,$(shell $(CXX) --version)),) #### egcs 2.91.57 seems to go overboard: |