warnings: disable redundant-decl
This commit is contained in:
parent
305bd4a46e
commit
3deaf0503b
@ -27,7 +27,12 @@ append_compile_flag(-Wnoexcept)
|
|||||||
append_compile_flag(-Wnon-virtual-dtor)
|
append_compile_flag(-Wnon-virtual-dtor)
|
||||||
append_compile_flag(-Wparentheses) # Wparenthesis detects assignment in conditionals...
|
append_compile_flag(-Wparentheses) # Wparenthesis detects assignment in conditionals...
|
||||||
append_compile_flag(-Wpointer-arith)
|
append_compile_flag(-Wpointer-arith)
|
||||||
append_compile_flag(-Wredundant-decls)
|
|
||||||
|
# redundant-decls would be useful, but it specifically clashes with GCC
|
||||||
|
# intrinsics under msys2 where the builtin and headers define them with
|
||||||
|
# different linkages.
|
||||||
|
#append_compile_flag(-Wredundant-decls)
|
||||||
|
|
||||||
append_compile_flag(-Wshadow)
|
append_compile_flag(-Wshadow)
|
||||||
append_compile_flag(-Wsign-compare)
|
append_compile_flag(-Wsign-compare)
|
||||||
append_compile_flag(-Wsign-promo)
|
append_compile_flag(-Wsign-promo)
|
||||||
|
Loading…
Reference in New Issue
Block a user