Kaydet (Commit) b1f75933 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More forced-C++03 -Werror tweaking

Change-Id: I69c0311df4bd234ebecb866b950fa7f58a13563c
üst 15e000e7
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment