summaryrefslogtreecommitdiff
path: root/TAO/rules.tao.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-21 14:08:36 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-21 14:08:36 +0000
commit128e2138c5dc8b6c24f46c959e7d56b7fadfa0e1 (patch)
treeab0efa59cd21cc40a997d74b88b8a4cffa54798a /TAO/rules.tao.GNU
parente441b4633304ba57d5377f45ee3928f20177dff8 (diff)
downloadATCD-128e2138c5dc8b6c24f46c959e7d56b7fadfa0e1.tar.gz
add -Wno-used to CCFLAGS, with g++ only
Diffstat (limited to 'TAO/rules.tao.GNU')
-rw-r--r--TAO/rules.tao.GNU3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/rules.tao.GNU b/TAO/rules.tao.GNU
index 27f2a2e68ce..40f682b30d4 100644
--- a/TAO/rules.tao.GNU
+++ b/TAO/rules.tao.GNU
@@ -15,3 +15,6 @@ endif
%S.h %C.h %S.i %C.i %S.cpp %C.cpp: %.idl
$(TAO_IDL) $(TAO_IDLFLAGS) $?
+ifneq (,$(findstring g++,$(CXX)))
+ CCFLAGS += -Wno-unused
+endif # g++