summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2020-04-16 23:23:57 -0400
committerGravatar Lioncash2020-04-16 23:43:41 -0400
commitdcbb39cdae47d2bb2cd51635f00ce3af49abcd85 (patch)
treeba5bd5148a7a9aba38755aa1ff315f04ec2d0a11 /src
parentGeneral: Resolve warnings related to missing declarations (diff)
downloadyuzu-dcbb39cdae47d2bb2cd51635f00ce3af49abcd85.tar.gz
yuzu-dcbb39cdae47d2bb2cd51635f00ce3af49abcd85.tar.xz
yuzu-dcbb39cdae47d2bb2cd51635f00ce3af49abcd85.zip
CMakeLists: Make missing declarations a compile-time error
Ensures that our code always has its linkage explicit.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3719bbc7c..3a57356ab 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -54,6 +54,7 @@ else()
54 add_compile_options( 54 add_compile_options(
55 -Wall 55 -Wall
56 -Werror=implicit-fallthrough 56 -Werror=implicit-fallthrough
57 -Werror=missing-declarations
57 -Werror=reorder 58 -Werror=reorder
58 -Wextra 59 -Wextra
59 -Wmissing-declarations 60 -Wmissing-declarations