summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-09-15 20:37:34 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-09-15 20:40:14 +0200
commit15e000e78a29fe51b9014d517fa5d1461b741061 (patch)
tree79c0ce66c4736d138e4f4d256ca45015b17e525e /solenv
parent2636ab883adbcb1f6593787934c6d6d3fff67c21 (diff)
Filter out non-interesting -Wvariadic-macros / -Werror=non-virtual-dtor
- 'anonymous variadic macros were introduced in C99' is not interesting when building with -std=gnu++03 - 'class cppu::PropertySetMixinImpl has virtual functions and accessible non-virtual destructor' is not interesting when we implicitly disable the ability to disable warnings from code Change-Id: I391817f9fc793d9b38f97111138aebd63c3a443f
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_GCC_defs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 04864574a111..95dbe3c6d8c8 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -102,7 +102,7 @@ ifeq ($(COM_GCC_IS_CLANG),TRUE)
# doesn't know gnu++03 and this seems to be the same anyway
gb_CXX03FLAGS := -std=gnu++98 -Werror=c++11-extensions -Wno-c++11-long-long
else
-gb_CXX03FLAGS := -std=gnu++03 -pedantic-errors -Wno-long-long
+gb_CXX03FLAGS := -std=gnu++03 -pedantic-errors -Wno-long-long -Wno-variadic-macros -Wno-non-virtual-dtor
endif
ifeq ($(ENABLE_LTO),TRUE)