diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 13:28:06 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 13:28:06 +0200 |
commit | bee615b75b3cd98335beaa8f5a6c4487ccccb0fd (patch) | |
tree | 26180f7088ee6ad69832f7af46182606a8c66489 /SetFlags.cmake | |
parent | Fixed many right click issues. (diff) | |
parent | Fixed a redstone sim failure with droppers. (diff) | |
download | cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.gz cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.bz2 cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.lz cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.xz cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.tar.zst cuberite-bee615b75b3cd98335beaa8f5a6c4487ccccb0fd.zip |
Diffstat (limited to 'SetFlags.cmake')
-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 |