I’m using LVGL in a PIC24 (XC16 compiler), specifically the
release/v6 branch (although it probably would apply to v7 as well).
Everything works as expected, but the compilation process is riddled with “warning: statement with no effect” messages in relation to
LV_ASSERT macros, as in https://github.com/lvgl/lvgl/blob/81e72236e5b1e9fe0e2e04abf85cdb960fd693b5/src/lv_core/lv_debug.h#L144.
To the best of my knowledge there is not a compiler flag to disable that specific warning, and it could be fixed by simply prepending
(void) to the empty
true expression. Should I propose a pull request?