Skip to content

unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics #491

@quantrpeter

Description

@quantrpeter

OS : Ubuntu 24.04.3 LTS
GCC : Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
LD : 2.42

Latest source build failed:

python3 make.py esp32 clean   --flash-size=16   BOARD=ESP32_GENERIC_S3   DISPLAY=ST7796   INDEV=FT6X36
In file included from /home/peter/workspace/lvgl_micropython/lib/micropython/extmod/machine_uart.c:62:
/home/peter/workspace/lvgl_micropython/lib/micropython/ports/esp32/machine_uart.c: In function 'uart_event_task':
/home/peter/workspace/lvgl_micropython/lib/micropython/ports/esp32/machine_uart.c:148:33: error: too many arguments to function 'machine_timer_enable'
148 |                                 machine_timer_enable(self->rxidle_timer, uart_timer_callback);
|                                 ^~~~~~~~~~~~~~~~~~~~
In file included from /home/peter/workspace/lvgl_micropython/lib/micropython/ports/esp32/machine_uart.c:42:
/home/peter/workspace/lvgl_micropython/lib/micropython/ports/esp32/machine_timer.h:57:6: note: declared here
57 | void machine_timer_enable(machine_timer_obj_t *self);
|      ^~~~~~~~~~~~~~~~~~~~
At top level:
cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics
[1368/2420] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/peter/workspace/lvgl_micropython/lib/micropython/extmod/modbluetooth.c.obj      
ninja: build stopped: subcommand failed.
ninja failed with exit code 1, output of the command is in the /home/peter/workspace/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_S3/log/idf_py_stderr_output_2089447 and /home/peter/workspace/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_S3/log/idf_py_stdout_output_2089447
-e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
make: Leaving directory '/home/peter/workspace/lvgl_micropython/lib/micropython/ports/esp32'
make: *** [Makefile:77: all] Error 1

thanks

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