Build fix for gcc 11 on stm32 boards#166
Merged
Merged
Conversation
8b9670b to
afb8377
Compare
hathach
reviewed
Dec 13, 2021
hathach
reviewed
Dec 14, 2021
hathach
reviewed
Dec 25, 2021
Member
hathach
left a comment
There was a problem hiding this comment.
I couldn't reproduce the issue since latest release from ARM is only 10.3. We will leave this issue and pr pending until gcc11 is released. Thank you for the pr.
Upgrade toolchain to 11.2.1
Member
|
thank you for keeping this PR update, I did pull and try to update this PR as well. Unfortunately the self-update target of stm32f4 still failed due to the false warnings from -Werror=stringop-overread gcc. This has been fixed in gcc 11.3. For now, we will suppress it with -Wno-error to get this merged asap. https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=91f7d7e1bb6827bf8e0b7ba7eb949953a5b1bd18 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a fix for issue #165
I did't program in C for quite long, so sorry for this trivial fix. Maybe somebody will propose a better solution.