[Issue 23614] ImportC: __int128 not supported
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 10 06:41:50 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23614
--- Comment #5 from Jacob Carlborg <doob at me.com> ---
(In reply to Jacob Carlborg from comment #4)
> Here's the full preprocessor logic:
>
> #if !defined BR_INT128 && !defined BR_UMUL128
> #ifdef __SIZEOF_INT128__
> #define BR_INT128 1
> #elif _M_X64
> #define BR_UMUL128 1
> #endif
> #endif
>
> Then rest of the code checks for "BR_INT128" and "BR_UMUL128". Perhaps
> "_M_X64" should be undefined as well.
It's available here [1]. I'm trying to compile BearSSL [2]. I'm just running
DMD on the files in the "src" directory and reporting issues as I find them.
It's quite a bit problematic that the Clang preprocessor is used, which
supports a bunch of extensions that DMD doesn't support.
[1]
https://bearssl.org/gitweb/?p=BearSSL;a=blob;f=src/inner.h;h=07e1d0a478e801a91580658918130fb8b595e407;hb=HEAD#l403
[2] https://bearssl.org/#download-and-installation
--
More information about the Digitalmars-d-bugs
mailing list