Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix warnings with -flto on GCC 11 #5433

Merged
merged 1 commit into from Jan 24, 2024

Conversation

niklasf
Copy link
Contributor

@niklasf niklasf commented Jan 23, 2024

  • Avoid type punning in kern pair binary search.
  • Inline delete_core() into lv_anim_delete (used only once) and avoid invalid function pointer cast.
  • %p formatter requires void pointer.
  • Work around false-positive -Wmaybe-uninitialized wrt. lv_style_get_prop().

* Avoid type punning in kern pair binary search.
* Inline delete_core() into lv_anim_delete (used only once) and avoid invalid
  function pointer cast.
* %p formatter requires void pointer.
* Work around false-positive -Wmaybe-uninitialized wrt.
  lv_style_get_prop().
Copy link
Contributor

@C47D C47D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's others more familiar with the code base review the delete part, everything else looks good to me.

@kisvegabor
Copy link
Member

Thank you!

@kisvegabor kisvegabor merged commit 0fe187e into lvgl:master Jan 24, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants