Skip to content

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

@fpistm

Description

@fpistm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy