rapidcheck icon indicating copy to clipboard operation
rapidcheck copied to clipboard

Clang -Wmissing-braces warning

Open yairchu opened this issue 4 years ago • 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.

yairchu avatar Aug 01 '21 07:08 yairchu

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

tsnorri avatar Sep 01 '23 12:09 tsnorri