Closed chishm closed 4 years ago
The attribute causes GCC warnings when -Waddress-of-packed-member is enabled. It is not needed because the structs are already laid out in a packed way.
-Waddress-of-packed-member
To verify that the structs remain as expected, add compile-time asserts.
This is the PR requested by Wintermute.
The attribute causes GCC warnings when
-Waddress-of-packed-member
is enabled. It is not needed because the structs are already laid out in a packed way.To verify that the structs remain as expected, add compile-time asserts.