emil-e/rapidcheck

Clang -Wmissing-braces warning

yairchu opened this issue · 1 comments

When compiling with -Wextra (which CMake apparently defaults to on some platforms?), a -Wmissing-braces warning triggers:

Screen Shot 2021-08-01 at 10 49 16

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.

I can confirm that Clang 16.0.6 reports the same warning with -Wmissing-braces.