Disable global constructors and exit-time destructors warnings
This commit is contained in:
parent
8b83c1a653
commit
cd7ef264be
@ -196,8 +196,8 @@ macro(set_exe_flags)
|
|||||||
add_flags_cxx("-Wno-error=deprecated -Wno-error=weak-vtables -Wno-error=float-equal")
|
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=missing-prototypes -Wno-error=non-virtual-dtor")
|
||||||
add_flags_cxx("-Wno-error=covered-switch-default -Wno-error=shadow")
|
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-exit-time-destructors -Wno-error=missing-variable-declarations")
|
||||||
add_flags_cxx("-Wno-error=global-constructors -Wno-implicit-fallthrough")
|
add_flags_cxx("-Wno-global-constructors -Wno-implicit-fallthrough")
|
||||||
add_flags_cxx("-Wno-missing-noreturn -Wno-error=unreachable-code -Wno-error=undef")
|
add_flags_cxx("-Wno-missing-noreturn -Wno-error=unreachable-code -Wno-error=undef")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user