Skip to content

The code generated by version 0.24.0 has strange compilation errors #855

@TangHangWei

Description

@TangHangWei

I used arm-none-eabi-gcc to compile eez-studio 0.24.0 to generate the code for the LVGL-flow (9.1.0) project. After using the ui_tick() function in the overall project code, a compilation error occurred:

Template_Project/applications/LVGL/eez_studio/ui/eez-flow.h: In function 'lvgl_thread_entry':
Template_Project/applications/LVGL/eez_studio/ui/eez-flow.h:3410:6: error: static declaration of 'utf8casecmp' follows non-static declaration
3410 | int utf8casecmp(const utf8_int8_t *src1,
| ^~~~~~~~~~~
Template_Project/applications/LVGL/eez_studio/ui/eez-flow.h:3224:5: note: previous declaration of 'utf8casecmp' was here
3224 | int utf8casecmp(const utf8_int8_t *src1, const utf8_int8_t *src2);
| ^~~~~~~~~~~

There is more than one function, but the same error occurs.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions