-
-
Couldn't load subscription status.
- Fork 414
set core.stdc.stdint types so mangling matches C++ #2183
Conversation
|
Thanks for your pull request, @WalterBright! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "master + druntime#2183" |
|
Blocking dlang/dmd#8252 |
| enum isPosix = false; | ||
| static if (isPosix && (void*).sizeof > int.sizeof) | ||
| { | ||
| alias ddoc_long = long; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see why we need these itermediate ddoc_ aliases here. Can't we just declare c_long and c_ulong here?
|
There's an awful lot of redundancy in this patch and it makes review a little difficult. Can't we just version out the differences? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyway, nothing I've said above should prevent this from being merged.
I tried that initially. The result was incomprehensible. |
|
@WalterBright Please note that although I approved this, I'm not on Team DRuntime. I'll send you an e-mail about this. |
|
I put you on the team. Druntime can use your help. |
Provides better interoperability with C++, hence betterC.