3
0
Fork 0
forked from suyu/suyu

CMakeLists: Disable -Wbraced-scalar-init on Clang

Clang erroneously emits this warning when using designated initializers.
This commit is contained in:
Morph 2022-10-21 02:34:08 -04:00
parent f51c71e956
commit 120cd450e5

View file

@ -110,6 +110,7 @@ else()
-Wno-invalid-offsetof -Wno-invalid-offsetof
-Wno-unused-parameter -Wno-unused-parameter
$<$<CXX_COMPILER_ID:Clang>:-Wno-braced-scalar-init>
$<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field> $<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
) )