-
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
xt-xcc unknown field 'obj' specified in initializer #33549
Comments
XCC (which is based on GCC 4.2) needs the initializer of one of the union elements to be enclosed in brackets. So add them. Fixes zephyrproject-rtos#33549 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
XCC (which is based on GCC 4.2) needs the initializer of one of the union elements to be enclosed in brackets. So add them. Fixes #33549 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
@hongshui3000 @galak @dcpleung @carlescufi sorry to resurface the discussion, This fix triggers OS: Fedora Can you suggest alternatives? |
Maybe if you give the anonymous struct a name? |
@dcpleung Thank you for coming back. ya! I did think about that. It will trigger a cascade of changes across the code base. Will that be a good thing do? please advise! |
That will need an RFC for this kind of changes to the tree. You can go on Discord to initial the conversation. |
thanks for the tip. let me bring this conversation. |
Describe the bug
file:kernel.h
xt-xcc cannot recognize the obj object
Just change it to the following
Logs and console output
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: