CMakeLists: Disable -Wbraced-scalar-init on Clang
Clang erroneously emits this warning when using designated initializers.
This commit is contained in:
parent
f51c71e956
commit
120cd450e5
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue