summaryrefslogtreecommitdiff
path: root/TAO/rules.tao.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r--TAO/rules.tao.GNU5
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: