Warning from compiler XC32

I have upgrade to latest version of lvgl 7 .
I get warning on file lv_style.h in redundant declaration of ““void lv_style_copy””
I founded two declaration on line 336 and 273 in lv_style.h.

Is right two declaration of lv_style_copy?

I have no idea how that happened; probably an oversight when merging. :slightly_smiling_face:

It shouldn’t affect anyone’s existing projects if we remove the duplicate declaration, so I went ahead and did that here.

I should turn on duplicate declaration warnings in the CI as it seems that GCC doesn’t warn about that by default.

1 Like