This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: splay-tree.h needs type adjustment for _WIN64.
for the support of gcc on native _WIN64 platform it is needed to use the
"long long" as scalar value. On _WIN64 the size of the "long int" type
remains 4 bytes wide, but a pointer value is 8 bytes wide.
What size are size_t and ptrdiff_t (well, the latter is signed so it
doesn't matter in this case, but I'm curious...)? uintptr_t may also be
useful (see the macro in config/stdint.m4).
Paolo