mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 23:10:26 +00:00
Suppress -Wchar-subscripts on Clang
For example: ./rogueviz/platformer.cpp:388:14: error: array subscript is of type 'char' [-Werror,-Wchar-subscripts] if(keystate['3']) ^~~~
This commit is contained in:
parent
559301e69f
commit
ad47db4240
2
Makefile
2
Makefile
@ -83,7 +83,7 @@ ifeq (${TOOLCHAIN},clang)
|
||||
CXXFLAGS_STD = -std=c++11
|
||||
CXXFLAGS_EARLY += -fPIC
|
||||
CXXFLAGS_EARLY += -W -Wall -Wextra -Wsuggest-override -pedantic
|
||||
CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-unknown-warning-option
|
||||
CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized -Wno-char-subscripts -Wno-unknown-warning-option
|
||||
CXXFLAGS_EARLY += -Wno-invalid-offsetof
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user