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