mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-16 02:09:59 +00:00
added -Wno-unknown-warning-option
This commit is contained in:
parent
d3783a2ebe
commit
8b77e2fb64
|
@ -138,7 +138,7 @@ script:
|
||||||
# Build hyperrogue.
|
# Build hyperrogue.
|
||||||
if [[ "$TRAVIS_BUILD_SYSTEM" == "autotools" ]]; then
|
if [[ "$TRAVIS_BUILD_SYSTEM" == "autotools" ]]; then
|
||||||
autoreconf -vi
|
autoreconf -vi
|
||||||
./configure CXXFLAGS="-Wall -Werror -Wno-maybe-uninitialized"
|
./configure CXXFLAGS="-Wall -Werror -Wno-unknown-warning-option -Wno-maybe-uninitialized"
|
||||||
make
|
make
|
||||||
elif [[ "$TRAVIS_BUILD_SYSTEM" == "Makefile" ]]; then
|
elif [[ "$TRAVIS_BUILD_SYSTEM" == "Makefile" ]]; then
|
||||||
make -f Makefile.simple CXX="${HYPERROGUE_CXX-g++}"
|
make -f Makefile.simple CXX="${HYPERROGUE_CXX-g++}"
|
||||||
|
|
|
@ -86,25 +86,25 @@ endif
|
||||||
ifeq (${TOOLCHAIN},clang)
|
ifeq (${TOOLCHAIN},clang)
|
||||||
CXXFLAGS_EARLY += -std=c++11 -march=native
|
CXXFLAGS_EARLY += -std=c++11 -march=native
|
||||||
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror -pedantic
|
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror -pedantic
|
||||||
CXXFLAGS_EARLY += -Wno-format-pedantic -Wno-missing-field-initializers -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
CXXFLAGS_EARLY += -Wno-unknown-warning-option -Wno-format-pedantic -Wno-missing-field-initializers -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${TOOLCHAIN},gcc)
|
ifeq (${TOOLCHAIN},gcc)
|
||||||
CXXFLAGS_EARLY += -std=c++11 -march=native
|
CXXFLAGS_EARLY += -std=c++11 -march=native
|
||||||
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
|
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
|
||||||
CXXFLAGS_EARLY += -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
CXXFLAGS_EARLY += -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${TOOLCHAIN},gcc46)
|
ifeq (${TOOLCHAIN},gcc46)
|
||||||
CXXFLAGS_EARLY += -std=c++0x
|
CXXFLAGS_EARLY += -std=c++0x
|
||||||
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
|
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
|
||||||
CXXFLAGS_EARLY += -Wno-missing-field-initializers -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
CXXFLAGS_EARLY += -Wno-unknown-warning-option -Wno-missing-field-initializers -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (${TOOLCHAIN},mingw)
|
ifeq (${TOOLCHAIN},mingw)
|
||||||
CXXFLAGS_EARLY += -std=c++11 -march=native
|
CXXFLAGS_EARLY += -std=c++11 -march=native
|
||||||
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
|
CXXFLAGS_EARLY += -W -Wall -Wextra -Werror
|
||||||
CXXFLAGS_EARLY += -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
CXXFLAGS_EARLY += -Wno-unknown-warning-option -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-maybe-uninitialized
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user