← Back to index
|
Original Bugzilla link
Bug 19610 – __c_longlong is forward referenced
Status
RESOLVED
Resolution
WORKSFORME
Severity
critical
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2019-01-24T01:08:42Z
Last change time
2021-04-02T19:15:37Z
Assigned to
No Owner
Creator
Heromyth
Comments
Comment #0
by bitworld — 2019-01-24T01:08:42Z
OS: MacOS Compiler: DMD 2.084 Test code: import std.stdint; import std.bitmanip; void main() { // int64_t auth_key_id=0; // ubyte[8] u1 = nativeToBigEndian(auth_key_id); enum s = int64_t.sizeof; ubyte[s] b; int64_t message_id = bigEndianToNative!int64_t(b); // bug // ubyte[int64_t.sizeof] b2; // bug }
Comment #1
by moonlightsentinel — 2021-04-02T19:15:37Z
The test case compiles with 2.096