Skip to content

Build error when using v1.22.3 with with IDF 6.0.1 #266

Description

@EvEggelen

This error is triggered after updating to ESP-IDF v6.0.1 ( @ 7.0.1 from PlatformIO)

Using platformIO inside vscode
lib_deps =
https://github.com/joltwallet/esp_littlefs.git#v1.22.3
platform = espressif32 @ 7.0.1

Compiling .pio/build/esp32-s3-wroom-1-N16R8-xxxxx/lib8f0/esp_littlefs/esp_littlefs.o
Compiling .pio/build/esp32-s3-wroom-1-N16R8-xxxxx/lib8f0/esp_littlefs/lfs_config.o
cc1: error: command-line option '-fuse-cxa-atexit' is valid for C++/ObjC++ but not for C [-Werror]
cc1: error: command-line option '-fuse-cxa-atexit' is valid for C++/ObjC++ but not for C [-Werror]
cc1: all warnings being treated as errors
*** [.pio/build/esp32-s3-wroom-1-N16R8-xxxxx/lib8f0/esp_littlefs/lfs_config.o] Error 1
cc1: all warnings being treated as errors
*** [.pio/build/esp32-s3-wroom-1-N16R8-xxxx/lib8f0/esp_littlefs/esp_littlefs.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions