Answers checklist.
IDF / ESP32-Arduino version.
ESP-IDF V6.0
Operating System used.
Windows
How did you build your project?
Command line with idf.py
Development Kit.
ESP32S3 built-in USB-JTAG
What is the expected behavior?
no compile issue on ESP-IDF v6.0
What is the actual behavior?
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c: In function 'open_memstream':
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:105:18: error: unknown type name 'cookie_io_functions_t'
105 | static const cookie_io_functions_t vtable = {
| ^~~~~~~~~~~~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:106:9: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
106 | NULL,
| ^~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:106:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:107:9: error: excess elements in scalar initializer [-Werror]
107 | write_to_buffer,
| ^~~~~~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:107:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:108:9: error: excess elements in scalar initializer [-Werror]
108 | NULL,
| ^~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:108:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:109:9: error: excess elements in scalar initializer [-Werror]
109 | close_buffer
| ^~~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:109:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:111:12: error: implicit declaration of function 'fopencookie' [-Wimplicit-function-declaration]
111 | return fopencookie(b, "w", vtable);
| ^~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:111:12: error: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion]
111 | return fopencookie(b, "w", vtable);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1.exe: all warnings being treated as errors
[10/249] Building C object esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_cmd.c.obj
ninja: build stopped: subcommand failed.
Steps to reproduce.
- Step
- Step
- Step
...
Build Logs.
More Information.
No response
Answers checklist.
IDF / ESP32-Arduino version.
ESP-IDF V6.0
Operating System used.
Windows
How did you build your project?
Command line with idf.py
Development Kit.
ESP32S3 built-in USB-JTAG
What is the expected behavior?
no compile issue on ESP-IDF v6.0
What is the actual behavior?
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c: In function 'open_memstream':
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:105:18: error: unknown type name 'cookie_io_functions_t'
105 | static const cookie_io_functions_t vtable = {
| ^~~~~~~~~~~~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:106:9: error: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
106 | NULL,
| ^~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:106:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:107:9: error: excess elements in scalar initializer [-Werror]
107 | write_to_buffer,
| ^~~~~~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:107:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:108:9: error: excess elements in scalar initializer [-Werror]
108 | NULL,
| ^~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:108:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:109:9: error: excess elements in scalar initializer [-Werror]
109 | close_buffer
| ^~~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:109:9: note: (near initialization for 'vtable')
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:111:12: error: implicit declaration of function 'fopencookie' [-Wimplicit-function-declaration]
111 | return fopencookie(b, "w", vtable);
| ^~~~~~~~~~~
D:/projects/PowerBox/esp/esp-rainmaker/examples/led_light/managed_components/espressif__cbor/tinycbor/src/open_memstream.c:111:12: error: returning 'int' from a function with return type 'FILE *' makes pointer from integer without a cast [-Wint-conversion]
111 | return fopencookie(b, "w", vtable);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1.exe: all warnings being treated as errors
[10/249] Building C object esp-idf/sdmmc/CMakeFiles/__idf_sdmmc.dir/sdmmc_cmd.c.obj
ninja: build stopped: subcommand failed.
Steps to reproduce.
...
Build Logs.
More Information.
No response