mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Ignore unknown warning options
GCC and Clang do not understand the exact same warning option sets
This commit is contained in:
@@ -54,7 +54,8 @@ else()
|
||||
-Wstringop-overflow=4 -Walloc-zero -Wduplicated-cond
|
||||
-Wfloat-equal -Wshadow -Wcast-qual -Wcast-align -Wlogical-op
|
||||
-Wnested-externs -Wno-aggressive-loop-optimizations -Winline
|
||||
-Wundef -Wstrict-prototypes -Wold-style-definition)
|
||||
-Wundef -Wstrict-prototypes -Wold-style-definition
|
||||
-Wno-unknown-warning-option -Wno-tautological-constant-out-of-range-compare)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
1
Makefile
1
Makefile
@@ -219,6 +219,7 @@ develop:
|
||||
-Wfloat-equal -Wshadow -Wcast-qual -Wcast-align -Wlogical-op \
|
||||
-Wnested-externs -Wno-aggressive-loop-optimizations -Winline \
|
||||
-Wundef -Wstrict-prototypes -Wold-style-definition \
|
||||
-Wno-unknown-warning-option -Wno-tautological-constant-out-of-range-compare \
|
||||
-fsanitize=shift -fsanitize=integer-divide-by-zero \
|
||||
-fsanitize=unreachable -fsanitize=vla-bound \
|
||||
-fsanitize=signed-integer-overflow -fsanitize=bounds \
|
||||
|
||||
Reference in New Issue
Block a user