[git commit] tests: vector: silence -Wtautological-compare

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Apr 6 12:32:15 UTC 2019


commit: https://git.uclibc.org/uClibc++/commit/?id=91be5a91eac391a5af7fa30edd872c5371593501
branch: https://git.uclibc.org/uClibc++/commit/?id=refs/heads/master

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 Rules.mak         | 1 +
 tests/Makefile.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/Rules.mak b/Rules.mak
index 62ba049..b80ef02 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -199,6 +199,7 @@ endif
 $(eval $(call check-gxx-var,-fvisibility-inlines-hidden))
 $(eval $(call check-gxx-var,-std=gnu++14))
 $(eval $(call check-gxx-var,-Wno-sized-deallocation))
+$(eval $(call check-gxx-var,-Wno-tautological-compare))
 
 # Add a bunch of extra pedantic annoyingly strict checks
 XWARNINGS=$(call qstrip,$(UCLIBCXX_WARNINGS)) -Wno-trigraphs -pedantic
diff --git a/tests/Makefile.in b/tests/Makefile.in
index ff5d3b5..43e8601 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -25,6 +25,7 @@ all: $(ALLBIN) $(if $(DODEBUG),$(HOST_BIN))
 include $(TESTS_DIR)testoutput/Makefile.in
 
 LIBS-valarraytest := -lm
+CXXFLAGS-vectortest.o += $(CXXFLAG_-Wno-tautological-compare)
 
 $(EXOBJS) $(UTILITY_OBJS): $(WRAPPER)
 %.o: %.cpp ; $(compile.oxx)


More information about the uClibc-cvs mailing list