diff options
-rw-r--r-- | SetFlags.cmake | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake index 0835189ad..1827a4b66 100644 --- a/SetFlags.cmake +++ b/SetFlags.cmake @@ -239,12 +239,11 @@ macro(set_exe_flags) # clang does not provide the __extern_always_inline macro and a part of libm depends on this when using fast-math add_flags_cxx("-D__extern_always_inline=inline") add_flags_cxx("-Werror -Weverything -Wno-c++98-compat-pedantic -Wno-string-conversion") - add_flags_cxx("-Wno-error=switch-enum -Wno-exit-time-destructors") - add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-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-exit-time-destructors -Wno-padded") + add_flags_cxx("-Wno-error=sign-conversion -Wno-error=conversion -Wno-error=deprecated") + add_flags_cxx("-Wno-error=missing-prototypes") add_flags_cxx("-Wno-error=shadow -Wno-error=old-style-cast -Wno-error=global-constructors") - add_flags_cxx("-Wno-error=exit-time-destructors") + add_flags_cxx("-Wno-error=float-equal") add_flags_cxx("-Wno-weak-vtables -Wno-switch-enum") if ("${CLANG_VERSION}" VERSION_GREATER 3.0) # flags that are not present in 3.0 |