Skip to content
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

fix Issue 23614 - ImportC: __int128 not supported #14805

Merged
merged 1 commit into from
Jan 14, 2023

Conversation

WalterBright
Copy link
Member

Fix using Jacob Carlborg's suggestion.

This blocks compiling the BearSSL package.

@WalterBright WalterBright added Review:Blocking Other Work review and pulling should be a priority Review:Easy Review Feature:ImportC Pertaining to ImportC support labels Jan 12, 2023
@dlang-bot
Copy link
Contributor

dlang-bot commented Jan 12, 2023

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
23614 blocker ImportC: __int128 not supported

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + dmd#14805"

@@ -96,3 +96,7 @@
#if linux // Microsoft won't allow the following macro
#define __PRETTY_FUNCTION__ __func__
#endif

#if __APPLE__
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume DMD doesn't support 128 bit integers on any platforms?

Copy link
Member Author

Choose a reason for hiding this comment

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

right.

Copy link
Contributor

Choose a reason for hiding this comment

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

Then why are undefing it just for Apple?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because that's the only platform that complains about it.

Note that the Standard .h files are quite different on each platform.

@RazvanN7
Copy link
Contributor

This should target stable. @WalterBright please check the bot message, it guides you when and how to retarget stable.

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

Successfully merging this pull request may close these issues.

5 participants