michi-jung commented on pull request #5495: URL: https://github.com/apache/incubator-nuttx/pull/5495#issuecomment-1039928286
Current GCC documentation states: > packed - This attribute, attached to a struct, union, or C++ class type definition, specifies that each of its members (other than zero-width bit-fields) is placed to minimize the memory required. This is equivalent to specifying the packed attribute on each of the members. So I guess @xiaoxiang781216 is right and the packed attribute on the reg_off member is not required. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
