diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-10-13 21:20:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 21:20:44 +0200 |
commit | c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88 (patch) | |
tree | 9565ff464bbb9e5a0aa66e6e310098314e88d019 /src/core/CMakeLists.txt | |
parent | Merge pull request #3929 from FearlessTobi/ticket-keys (diff) | |
parent | core/CMakeLists: Make some warnings errors (diff) | |
download | yuzu-c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88.tar yuzu-c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88.tar.gz yuzu-c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88.tar.bz2 yuzu-c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88.tar.lz yuzu-c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88.tar.xz yuzu-c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88.tar.zst yuzu-c5b3c8d06bcfa343b2cecbfc60b3530b306ebe88.zip |
Diffstat (limited to 'src/core/CMakeLists.txt')
-rw-r--r-- | src/core/CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index d0c405ec7..9760be4e4 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -623,6 +623,17 @@ if (MSVC) # 'context' : truncation from 'type1' to 'type2' /we4305 ) +else() + target_compile_options(core PRIVATE + -Werror=conversion + -Werror=ignored-qualifiers + -Werror=implicit-fallthrough + -Werror=reorder + -Werror=sign-compare + -Werror=unused-but-set-parameter + -Werror=unused-but-set-variable + -Werror=unused-variable + ) endif() create_target_directory_groups(core) |