-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Error compiling C++ with flag (-Wmissing-field-initializers) #67396
Comments
Fixed in #68125 |
Re-opening because this flag broke again: If this policy is not formally agreed and regularly enforced in CI then it will keep breaking. From #68118 (comment)
More relevant discussion in |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
init.h fixed for good in a portable way in: Solution thoroughly documented in: Note that new documentation does NOT say anything about @ceolin is |
Describe the bug
When using
-Wmissing-field-initializers
to compile Zephyr we get and error for SYS_INIT since it doesn't initialize thedev
fieldTo Reproduce
Steps to reproduce the behavior:
-Wmissing-field-initializers
to the compile options and build any app with SYS_INITExpected behavior
Should build
Impact
Breaks build
The text was updated successfully, but these errors were encountered: