You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/06/03 18:04:16 UTC
[GitHub] [mynewt-core] utzig opened a new pull request #1862: Fix warning on
pointer to packed struct member
utzig opened a new pull request #1862: Fix warning on pointer to packed struct member
URL: https://github.com/apache/mynewt-core/pull/1862
When passing a pointer to a packed struct member, gcc-9 warns about its inability to do proper alignment. This fixes the issue by using pointer to variables and copying to the struct members.
See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services