Disable global constructors and exit-time destructors warnings

This commit is contained in:
Tycho 2014-03-14 07:16:55 -07:00
parent 8b83c1a653
commit cd7ef264be

View File

@ -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=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=global-constructors -Wno-implicit-fallthrough")
add_flags_cxx("-Wno-exit-time-destructors -Wno-error=missing-variable-declarations")
add_flags_cxx("-Wno-global-constructors -Wno-implicit-fallthrough")
add_flags_cxx("-Wno-missing-noreturn -Wno-error=unreachable-code -Wno-error=undef")
endif()
endif()