When compiling LVGL V8.0, some warnings were generated. It feels like a problem with the compiler

Important: unclear posts may not receive useful answers.

Before posting

  • Get familiar with Markdown to format and structure your post
  • Be sure to update lvgl from the latest version from the master branch.
  • Read the

Delete this section if you read and applied the mentioned points.

Description

When compiling LVGL V8.0, some warnings were generated. It feels like a problem with the compiler.

What MCU/Processor/Board and compiler are you using?

stm32f407vet6 ; arm compiler v5(c99 mode & GNUexternsions)

What do you want to achieve?

There are no warnings and errors after compilation

What have you tried so far?

Change the compiler model. When I changed the arm compiler v5 to V6, the warnings and errors disappeared, but the code runs abnormally.

Code to reproduce

Add the relevant code snippets here.

The code block(s) should be between ```c and ``` tags:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.


Thanks for the report!

Does the warning disappear if your change
refr_position(obj,false); to refr_position(obj, LV_ANIM_OFF);?