-
-
Notifications
You must be signed in to change notification settings - Fork 39.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
[Core] Update C standard to GNU11, C++ to GNU++14 #17114
Conversation
It would be nice to get some insight into potential impact, like was handled in #7920. Slightly more complicated, due to needing to check avr/arm/native compiler versions? |
Probably worth bumping C++ standard, too. |
Isn't c++ already on gnu11? |
I thought we discussed going to 14 on one of your previous PRs for unit tests? |
Ah yes, even 17 if I remember correctly. How are the constraints regarding default OS availability here? I suspect that somebody who is able to write a unit-test should be able to update to a recent GCC version. |
c656b1d
to
4830e34
Compare
4830e34
to
a305409
Compare
I have updated the GCC compatibility table to cover AVR, ARM and AMD64 targets for all QMK platforms. We can safely update to GNU11 for C and GNU14 for C++. The only CPP code which is not test code is the USB HID converter which is used by converters like the |
Description
Pushes the used C standard for QMK to GNU11 and C++ standard to GNU17.
GCC support on QMK platfroms
Types of Changes
Issues Fixed or Closed by This PR
Checklist