mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-15 02:36:08 -04:00
Suppress warnings about unused results in GCC (semantics are sub-optimal and coverity/flexelint do the right thing)
This commit is contained in:
1
Makefile
1
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user