diff options
author | Sergey Kazenyuk <sergey@kazenyuk.com> | 2015-05-06 19:10:51 +0300 |
---|---|---|
committer | Sergey Kazenyuk <sergey@kazenyuk.com> | 2015-05-06 19:10:51 +0300 |
commit | 867e98d739ded6cb314665e537c23a780acd6a3e (patch) | |
tree | dede3c026e7d27363db544af08854f202f057863 /CMakeLists.txt | |
parent | Merge pull request #269 (diff) | |
parent | Fix missing virtual destructor (diff) | |
download | monero-867e98d739ded6cb314665e537c23a780acd6a3e.tar.xz |
Merge branch 'clang_fixes' into clang_fixes-master
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 63cb68445..c50e13065 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -213,7 +213,7 @@ else() else() set(ARCH_FLAG "-march=${ARCH}") endif() - set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=strict-aliasing -Wno-error=type-limits -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized") + set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=strict-aliasing -Wno-error=type-limits -Wno-unused-parameter -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized -Wno-deprecated-register") if(NOT MINGW) set(WARNINGS "${WARNINGS} -Werror") # to allow pedantic but not stop compilation endif() |