Skip to content
Snippets Groups Projects
Commit ac2ec6c9 authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

Makefile: disable some warnings for GCC 8.x

parent 4b0d45af
Branches
Tags
1 merge request!488Merge in next and don't billboard papersprites in GL
...@@ -85,7 +85,7 @@ matrix: ...@@ -85,7 +85,7 @@ matrix:
- p7zip-full - p7zip-full
- gcc-8 - gcc-8
compiler: gcc-8 compiler: gcc-8
env: WFLAGS="-Wno-tautological-compare -Wno-error=implicit-fallthrough -Wimplicit-fallthrough=3" env: WFLAGS="-Wno-tautological-compare -Wno-error=implicit-fallthrough -Wimplicit-fallthrough=3 -Wno-error=format-overflow"
#gcc-8 (Ubuntu 7.2.0-1ubuntu1~14.04) 8.1.0 #gcc-8 (Ubuntu 7.2.0-1ubuntu1~14.04) 8.1.0
- os: linux - os: linux
compiler: clang compiler: clang
......
...@@ -222,6 +222,14 @@ endif ...@@ -222,6 +222,14 @@ endif
ifdef GCC61 ifdef GCC61
WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare WFLAGS+=-Wno-tautological-compare -Wno-error=tautological-compare
endif endif
ifdef GCC80
WFLAGS+=-Wno-error=format-overflow
WFLAGS+=-Wno-error=stringop-truncation
WFLAGS+=-Wno-error=stringop-overflow
WFLAGS+=-Wno-format-overflow
WFLAGS+=-Wno-stringop-truncation
WFLAGS+=-Wno-stringop-overflow
endif
#indicate platform and what interface use with #indicate platform and what interface use with
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment