Suppress warnings about unused results in GCC (semantics are sub-optimal and coverity/flexelint do the right thing)

This commit is contained in:
Ivan Skytte Jørgensen
2016-09-30 15:32:35 +02:00
parent f4403875df
commit f598d018d5

@ -171,6 +171,7 @@ CPPFLAGS += -Wno-write-strings
CPPFLAGS += -Wno-maybe-uninitialized
CPPFLAGS += -Wno-unused-but-set-variable
CPPFLAGS += -Wno-unused-parameter
CPPFLAGS += -Wno-unused-result #gcc's semantics are sub-optimal
else ifeq ($(CXX), clang++)
# dependencies