Skip to content

bitfields are now incorporated #4276

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 1 commit into
base: master
Choose a base branch
from

Conversation

WalterBright
Copy link
Member

@WalterBright WalterBright commented Jul 31, 2025

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@ntrel
Copy link
Contributor

ntrel commented Aug 1, 2025

dmd 2.111 still requires the -preview switch:

onlineapp.d(4): Error: variable `onlineapp.S.__anonBitField1` use -preview=bitfields for bitfield support
    int :2, c:3;
         ^
onlineapp.d(4): Error: variable `onlineapp.S.c` use -preview=bitfields for bitfield support
    int :2, c:3;
              ^

@thewilsonator
Copy link
Contributor

@ntrel this require the linked PR in dmd to be merged first

@ntrel
Copy link
Contributor

ntrel commented Aug 1, 2025

@thewilsonator Well it needs a new release (and run.dlang.io to be updated with it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants