Преглед на файлове

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
     )