1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-28 09:54:52 +00:00

set a flag to silence Clang warnings

This commit is contained in:
Zeno Rogue 2024-12-22 22:36:59 +01:00
parent d5449ca042
commit 2bf5b711a5

View File

@ -92,7 +92,7 @@ ifeq (${TOOLCHAIN},clang)
CXXFLAGS_STD = -std=c++14
CXXFLAGS_EARLY += -fPIC
CXXFLAGS_EARLY += -W -Wall -Wextra -Wsuggest-override -pedantic
CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-char-subscripts -Wno-unknown-warning-option
CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-char-subscripts -Wno-unknown-warning-option -Wno-unused-but-set-variable
CXXFLAGS_EARLY += -Wno-invalid-offsetof
endif