mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-30 02:32:46 +01:00
CMake: Enable type limits on Clang
This commit is contained in:
parent
2007d0e4a0
commit
f7292c776b
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ else()
|
||||||
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
|
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
|
||||||
$<$<CXX_COMPILER_ID:Clang>:-Werror=shadow-uncaptured-local>
|
$<$<CXX_COMPILER_ID:Clang>:-Werror=shadow-uncaptured-local>
|
||||||
$<$<CXX_COMPILER_ID:Clang>:-Werror=implicit-fallthrough>
|
$<$<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-braced-scalar-init>
|
||||||
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
|
$<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue