This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]