Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Stallman believes that sizeof(long) = 4

Name: Anonymous 2021-09-02 23:12

http://lj.rossia.org/users/nashgold/207651.html
Further segfaults uncovered that the Windows 64 version of GCC has 32-bit longs.
That goes against the standard, which guarantees long to be the size of machine word.
I.e. long should be 32-bit on 32-bit systems, and 64-bit on 64-bit systems.
Not so with GCC.
So the code working on OSX and 32-bit Windows obviously breaks on Windows 64.

Name: Anonymous 2021-09-03 0:09

RTFM idiot.

https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models

Long has always been and shall continue to be 32 bits on Windows.
~

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List