Explorar o código

CMake: Enable type limits on Clang

lat9nq %!s(int64=3) %!d(string=hai) anos
pai
achega
f7292c776b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/CMakeLists.txt

+ 1 - 0
src/CMakeLists.txt

@@ -115,6 +115,7 @@ else()
         $<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
         $<$<CXX_COMPILER_ID:Clang>:-Werror=shadow-uncaptured-local>
         $<$<CXX_COMPILER_ID:Clang>:-Werror=implicit-fallthrough>
+        $<$<CXX_COMPILER_ID:Clang>:-Werror=type-limits>
         $<$<CXX_COMPILER_ID:AppleClang>:-Wno-braced-scalar-init>
         $<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
     )