Skip to content

fix Issue 18597 - more unsafe unaligned pointer errors#8019

Merged
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:fix18597
Mar 23, 2018
Merged

fix Issue 18597 - more unsafe unaligned pointer errors#8019
dlang-bot merged 1 commit intodlang:masterfrom
WalterBright:fix18597

Conversation

@WalterBright
Copy link
Member

No description provided.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
18597 normal more unsafe unaligned pointer errors

Type origType = t;
Type tb = t.toBasetype();

const hasPointers = tb.hasPointers();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems to me like this block would be big enough to put it into a function.
This would help preventing diverging error messages.

@WalterBright
Copy link
Member Author

The autotester on Darwin_64_32 is seg faulting when compiling dmd. Is it using the same version of dmd as the other test platforms?

@wilzbach
Copy link
Contributor

Maybe related: #8022 (comment)

@WalterBright
Copy link
Member Author

ping @wilzbach

@WalterBright WalterBright added the Review:Vision Vision Plan https://wiki.dlang.org/Vision/2018H1 label Mar 22, 2018
@dlang-bot dlang-bot merged commit a0764d9 into dlang:master Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merge:auto-merge Review:Vision Vision Plan https://wiki.dlang.org/Vision/2018H1 Severity:Bug Fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants