Skip to content

PIO raised an error due to arm-none-eabi-gcc version 10.3.1 #2125

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

Closed
fpistm opened this issue Sep 11, 2023 · 0 comments · Fixed by #2126
Closed

PIO raised an error due to arm-none-eabi-gcc version 10.3.1 #2125

fpistm opened this issue Sep 11, 2023 · 0 comments · Fixed by #2126
Labels
enhancement New feature or request
Milestone

Comments

@fpistm
Copy link
Member

fpistm commented Sep 11, 2023

Since #2123, user of PIO have an error:
0ffbf3e#commitcomment-126862592

error: a label can only be part of a statement and a declaration is not a statement

After some test, I've been able to reproduce within Arduino by downgrading the arm-none-eab-gcc version used from 12.2.1 to 10.3.1
PIO uses arm-non-eabi-gcc 10.3.1 while Arduino used 12.2.1.
A request was made to update it:
platformio/platform-ststm32#720
Seems it brings some issues with gdb anyway it seems user can update it manually.

Nevertheless, I guess the code could be update to avoid this.

/cc @ellensp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant