Skip to content

fix some bitfield size calculate bug #3215

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

qinghon
Copy link

@qinghon qinghon commented May 31, 2025

Now, we can perceive non-starting bitfields and non-ending bitfields

Also, I modified the calculation method of align: only calculate alignment for bitfield from structure using bitfield_width
The reason is that the code now no longer relies on #[repr(C)] to generate alignments, but always contains all bytes
The problem that is currently known is that the test case bitfield-linux-32.hpp was dropped #[repr(packed(4))]. I don't know the reason, hope someone can help me

qinghon added 3 commits June 1, 2025 00:44
Now, we can perceive non-starting bitfields and non-ending bitfields
@qinghon
Copy link
Author

qinghon commented May 31, 2025

Issue known to be repaired:
#1377
#3105
#743
#981
#1314

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.

1 participant