summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2020-04-16 22:06:58 -0400
committerGravatar Lioncash2020-04-16 22:07:16 -0400
commitfc5df84581c826525c158c234cefa6c2cf1d84e8 (patch)
treec09650832494d95a942b8563a4fcd7dabe61614d
parentMerge pull request #3673 from lioncash/extra (diff)
downloadyuzu-fc5df84581c826525c158c234cefa6c2cf1d84e8.tar.gz
yuzu-fc5df84581c826525c158c234cefa6c2cf1d84e8.tar.xz
yuzu-fc5df84581c826525c158c234cefa6c2cf1d84e8.zip
CMakeLists: Enable -Wmissing-declarations on Linux builds
Allows catching cases where internal linkage isn't specified for helper functions when they should be marked as such.
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0913be72c..3719bbc7c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -56,6 +56,7 @@ else()
56 -Werror=implicit-fallthrough 56 -Werror=implicit-fallthrough
57 -Werror=reorder 57 -Werror=reorder
58 -Wextra 58 -Wextra
59 -Wmissing-declarations
59 -Wno-attributes 60 -Wno-attributes
60 -Wno-unused-parameter 61 -Wno-unused-parameter
61 ) 62 )