소스 검색

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.
Lioncash 6 년 전
부모
커밋
fc5df84581
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/CMakeLists.txt

+ 1 - 0
src/CMakeLists.txt

@@ -56,6 +56,7 @@ else()
         -Werror=implicit-fallthrough
         -Werror=reorder
         -Wextra
+        -Wmissing-declarations
         -Wno-attributes
         -Wno-unused-parameter
     )