[Issue 17890] cpp_long is not declared for Posix 64bit

2019-04-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17890

Илья Ярошенко  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 17890] cpp_long is not declared for Posix 64bit

2018-04-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17890

Jonathan M Davis  changed:

   What|Removed |Added

 CC||issues.dl...@jmdavisprog.co
   ||m

--- Comment #4 from Jonathan M Davis  ---
It's issues like that which make it so that I avoid long like the plague in
C/C++. Personally, I use int if I don't care about the size, and one of the
(u)int*_t types if I do, and I'm very glad that D mostly doesn't have the same
problem where the size of types varies from system to system (though we're kind
of stuck with regards to stuff like size_t due to how important it is that it
interact properly with the pointer size on the machine).

--


[Issue 17890] cpp_long is not declared for Posix 64bit

2018-04-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17890

--- Comment #3 from Walter Bright  ---
(In reply to Илья Ярошенко from comment #0)
> ...
> BTW, why c_long is always 32 bit for windows?

Because `long` in 64 bit VC++ is 32 bits.

--


[Issue 17890] cpp_long is not declared for Posix 64bit

2018-04-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17890

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #2 from Walter Bright  ---
https://github.com/dlang/druntime/pull/2160

--


[Issue 17890] cpp_long is not declared for Posix 64bit

2017-10-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17890

--- Comment #1 from anonymous4  ---
(In reply to Илья Ярошенко from comment #0)
> BTW, why c_long is always 32 bit for windows?

I suppose for compatibility with code written for 32-bit architecture, though
long was 32-bit in 16-bit mode too.

--


[Issue 17890] cpp_long is not declared for Posix 64bit

2017-10-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17890

Илья Ярошенко  changed:

   What|Removed |Added

   Keywords||C++

--