Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang -Wmissing-braces warning #279

Open
yairchu opened this issue Aug 1, 2021 · 1 comment · May be fixed by #314
Open

Clang -Wmissing-braces warning #279

yairchu opened this issue Aug 1, 2021 · 1 comment · May be fixed by #314

Comments

@yairchu
Copy link
Contributor

yairchu commented Aug 1, 2021

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.

@tsnorri
Copy link

tsnorri commented Sep 1, 2023

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

tsnorri added a commit to tsnorri/rapidcheck that referenced this issue Sep 1, 2023
@tsnorri tsnorri linked a pull request Sep 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants