Subj : Re: RP2350 and Pico 2 - things missing To : druck From : Lawrence D'Oliveiro Date : Sun Sep 01 2024 07:49:37 On Wed, 28 Aug 2024 21:29:03 +0100, druck wrote: > On 28/08/2024 00:30, Lawrence D'Oliveiro wrote: > >> Compare the POSIX APIs, where they were careful to use generic types >> like “size_t” and “time_t”, so that the same code could be compiled, >> unchanged, to work on both 32-bit and 64-bit architectures. Not >> something Windows code can manage. > > You can do this on Windows too, but they had to bastardise their C > compiler for people that hadn't. It's the only one that on a 64 bit > platform that has long as 32 bits. I know. This is why you have “LP64” (long and pointers both 64-bits) versus “LLP64” (only long long and pointers are 64 bits, long is still 32 bits). I think LP64 is pretty much universal outside the Windows world. --- SoupGate-Win32 v1.05 * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3) .