From f7292c776bb851b5d85e83c057890ad5186e3cff Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Tue, 2 May 2023 02:07:36 -0400 Subject: [PATCH] CMake: Enable type limits on Clang --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 48ddbef9d4..5e3a74c0f6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -115,6 +115,7 @@ else() $<$:-Wno-unused-private-field> $<$:-Werror=shadow-uncaptured-local> $<$:-Werror=implicit-fallthrough> + $<$:-Werror=type-limits> $<$:-Wno-braced-scalar-init> $<$:-Wno-unused-private-field> )