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

[Feature Request] Add workaround to work with gcc 12 #189

Closed
1 of 4 tasks
c0h2r opened this issue Jun 29, 2022 · 1 comment
Closed
1 of 4 tasks

[Feature Request] Add workaround to work with gcc 12 #189

c0h2r opened this issue Jun 29, 2022 · 1 comment

Comments

@c0h2r
Copy link

c0h2r commented Jun 29, 2022

Feature Request Type

  • Core functionality
  • Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
  • Alteration (enhancement/optimization) of existing feature(s)
  • New behavior

Description

On arch (and maybe some other rolling release distros) the current version of gcc is 12.1, and there's a bug ( https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523 ) which results in a bunch of error: array subscript 0 is outside array bounds of ... here and there. The problem is solved in the main qmk_firmware repo with 3 new lines of code in platforms/avr/platform.mk.

Basically, it'd be geat if you reflect the changes made with the following pull request:

And for now those who have the same problem can just go to the files section and copy-paste those 3 lines in the corresponding file.

@xyzz
Copy link
Contributor

xyzz commented Jul 13, 2022

Should be resolved now

@xyzz xyzz closed this as completed Jul 13, 2022
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

No branches or pull requests

2 participants