Liste des Groupes | Revenir à cs raspberry-pi |
On Thu, 29 Aug 2024 18:57:57 +010024 bit pointers were I think quite common, but isn't the 'null pointer' *defined* to be
John Aldridge <jpsa@cantab.net> wrote:
In article <20240829102839.5bb67af25e568ebabc65ede6@eircom.net>,That rings vague bells, what was it ?
steveo@eircom.net says...>>
On Thu, 29 Aug 2024 09:32:49 +0100
Richard Kettlewell <invalid@invalid.invalid> wrote:
>I don?t think I?d fault either decision though the fact that we?ve>
ended up with two conventions does make writing/maintaining portable
code a bit more annoying,
Portable code should only rely on the standards not
implementations, some very weird possibilities are legal within the
standard.
Heh, yes. I worked for several years on a machine where a null pointer
wasn't all bits zero, and where char* was a different size to any other
pointer.
Les messages affichés proviennent d'usenet.