diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 21:25:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-15 21:25:16 +0200 |
commit | b1f75933fe3ddddae0635a48809bcbb36fc24412 (patch) | |
tree | 6fdf02241489d70ce74d0b5be0662e35007b3712 /solenv | |
parent | 15e000e78a29fe51b9014d517fa5d1461b741061 (diff) |
More forced-C++03 -Werror tweaking
Change-Id: I69c0311df4bd234ebecb866b950fa7f58a13563c
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 95dbe3c6d8c8..9ee1fd271c41 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -100,9 +100,11 @@ gb_CFLAGS_WERROR := $(if $(ENABLE_WERROR),-Werror) # This is the default in non-C++11 mode 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 +gb_CXX03FLAGS := -std=gnu++98 -Werror=c++11-extensions -Wno-c++11-long-long \ + -Wno-deprecated-declarations else -gb_CXX03FLAGS := -std=gnu++03 -pedantic-errors -Wno-long-long -Wno-variadic-macros -Wno-non-virtual-dtor +gb_CXX03FLAGS := -std=gnu++03 -pedantic-errors -Wno-long-long \ + -Wno-variadic-macros -Wno-non-virtual-dtor -Wno-deprecated-declarations endif ifeq ($(ENABLE_LTO),TRUE) |