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

libopcodes: many warnings about scalar initializers #9

Open
cooljeanius opened this issue May 14, 2022 · 2 comments
Open

libopcodes: many warnings about scalar initializers #9

cooljeanius opened this issue May 14, 2022 · 2 comments

Comments

@cooljeanius
Copy link
Owner

For example:

fr30-desc.c:131:3: warning: braces around scalar initializer
  131 |   { "r0", 0, {0, {{{0, 0}}}}, 0, 0 },
      |   ^
fr30-desc.c:131:3: note: (near initialization for 'fr30_cgen_opval_gr_names_entries[0].attrs.nonbool[0]')
fr30-desc.c:131:3: warning: braces around scalar initializer
fr30-desc.c:131:3: note: (near initialization for 'fr30_cgen_opval_gr_names_entries[0].attrs.nonbool[0]')
fr30-desc.c:131:24: warning: excess elements in scalar initializer
  131 |   { "r0", 0, {0, {{{0, 0}}}}, 0, 0 },
      |                        ^

I have a gcc bug open to make this warning disableable: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103210
...but even if that's fixed, I should still fix the underlying issue... will probably require learning how cgen and scheme work...

@cooljeanius
Copy link
Owner Author

will probably require learning how cgen and scheme work...

Adding the "help wanted" tag for this part...

@cooljeanius
Copy link
Owner Author

will probably require learning how cgen and scheme work...

Adding the "help wanted" tag for this part...

Update: split that part out into issue #69

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant