Overview
| Artifact ID: | 1a99208b8da25853cfc1fe464b7d65792b5b712b |
|---|---|
| Ticket: | 1cc44617e2b4ed0a29f75762d45fe46388260f74
Mechanism with 64 bit support in tcl.h does not work outside of core |
| User & Date: | jan.nijtmans on 2017-03-24 16:03:01 |
Changes
- icomment:
Well, I think you misunderstand the intention of TCL_WIDE_INT_IS_LONG. On Win64, sizeof(long) == 4 and sizeof(void *) == 8. So, although pointers are 64-bit, long is 32-bit. So it is correct that on Win32/Win64, TCL_WIDE_INT_IS_LONG is NOT defined. That's as expected! TCL_WIDE_INT_IS_LONG doesn't tell anything about the platform being 32-bit or 64-bit. It just tells whether "long" is 32-bit or 64-bit. Not really what you expect, isn't it? In your analysis, you expect TCL_WIDE_INT_IS_LONG to be set on Win64. Well, that's incorrect, and that's where your analysis is wrong. Sorry ;-)
- login: "jan.nijtmans"
- mimetype: "text/plain"