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.
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.