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

Build: error on array bounds

parent 8374a162
Branches
No related tags found
No related merge requests found
......@@ -281,7 +281,7 @@ target_compile_options(SRB2SDL2 PRIVATE
$<$<VERSION_GREATER_EQUAL:$<C_COMPILER_VERSION>,4.5.0>:
-Wlogical-op
-Wno-error=array-bounds
#-Wno-error=array-bounds
>
$<$<VERSION_GREATER_EQUAL:$<C_COMPILER_VERSION>,4.6.0>:
......
......@@ -116,7 +116,7 @@ ifdef GCC43
#WFLAGS+=-Wno-error=clobbered
endif
ifdef GCC44
WFLAGS+=-Wno-error=array-bounds
#WFLAGS+=-Wno-error=array-bounds
endif
ifdef GCC46
WFLAGS+=-Wno-error=suggest-attribute=noreturn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment