summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-04-16 22:06:58 -0400
committerLioncash <mathew1800@gmail.com>2020-04-16 22:07:16 -0400
commitfc5df84581c826525c158c234cefa6c2cf1d84e8 (patch)
treec09650832494d95a942b8563a4fcd7dabe61614d /src
parent79c1269f0fd25e8aaf090cd1f4640a52237a3fd3 (diff)
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.
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 0913be72c..3719bbc7c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -56,6 +56,7 @@ else()
-Werror=implicit-fallthrough
-Werror=reorder
-Wextra
+ -Wmissing-declarations
-Wno-attributes
-Wno-unused-parameter
)