We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BETTER_ENUM(address_t, uint8_t, one = 0x01, two = 0x02); struct query_t { address_t address; } __attribute__((packed, aligned(1)));
Gives a warning: ignoring packed attribute because of unpacked non-POD field 'address_t query_t::address'
ignoring packed attribute because of unpacked non-POD field 'address_t query_t::address'
The text was updated successfully, but these errors were encountered:
Try adding
#define BETTER_ENUMS_CLASS_ATTRIBUTE __attribute__((packed, aligned(1)))
before the enum. See Injecting tokens.
Sorry, something went wrong.
No branches or pull requests
Gives a warning:
ignoring packed attribute because of unpacked non-POD field 'address_t query_t::address'
The text was updated successfully, but these errors were encountered: