Clang -Wmissing-braces warning
yairchu opened this issue · 1 comments
yairchu commented
When compiling with -Wextra
(which CMake apparently defaults to on some platforms?), a -Wmissing-braces
warning triggers:
In Xcode 12.5.1, clicking the "Fix" button for the warning yields code that does not compile, so I assume that the warning is actually faulty, and it would be best to suppress it.
tsnorri commented
I can confirm that Clang 16.0.6 reports the same warning with -Wmissing-braces
.