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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 10 05:32:02 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=17890

Jonathan M Davis <issues.dlang at jmdavisProg.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang at jmdavisProg.co
                   |                            |m

--- Comment #4 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
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).

--


More information about the Digitalmars-d-bugs mailing list