Lots more warnings
This commit is contained in:
parent
90cb04c5b6
commit
c5436e1ae7
@ -192,6 +192,15 @@ macro(set_exe_flags)
|
|||||||
add_flags_cxx("-D__extern_always_inline=inline")
|
add_flags_cxx("-D__extern_always_inline=inline")
|
||||||
add_flags_cxx("-Weverything -Wno-c++98-compat-pedantic -Wno-string-conversion")
|
add_flags_cxx("-Weverything -Wno-c++98-compat-pedantic -Wno-string-conversion")
|
||||||
add_flags_cxx("-Wno-extra-semi -Wno-error=switch-enum -Wno-documentation")
|
add_flags_cxx("-Wno-extra-semi -Wno-error=switch-enum -Wno-documentation")
|
||||||
|
add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=padded")
|
||||||
|
add_flags_cxx("-Wno-error=deprecated -Wno-error=weak-vtables -Wno-error=float-equal")
|
||||||
|
add_flags_cxx("-Wno-error=missing-prototypes -Wno-error=non-virtual-dtor")
|
||||||
|
add_flags_cxx("-Wno-error=covered-switch-default -Wno-error=shadow")
|
||||||
|
add_flags_cxx("-Wno-error=exit-time-destructors -Wno-error=missing-variable-declarations")
|
||||||
|
add_flags_cxx("-Wno-error=cast-align -Wno-error=unused-macros")
|
||||||
|
add_flags_cxx("-Wno-error=global-constructors -Wno-implicit-fallthrough")
|
||||||
|
add_flags_cxx("-Wno-missing-noreturn -Wno-error=unreachable-code -Wno-error=undef")
|
||||||
|
add_flags_cxx("-Wno-error=format-nonliteral")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user