Date: Sat, 9 Jun 2001 00:49:40 -0700 From: Damien Neil <neild@misago.org> To: hackers@FreeBSD.ORG Subject: Re: free() and const warnings Message-ID: <20010609004940.B50335@misago.org> In-Reply-To: <20010607124729.B4940@shade.nectar.com>; from n@nectar.com on Thu, Jun 07, 2001 at 12:47:30PM -0500 References: <20010607195634.I724@ringworld.oblivion.bg> <XFMail.010607102051.jhb@FreeBSD.org> <20010607124729.B4940@shade.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 07, 2001 at 12:47:30PM -0500, Jacques A. Vidrine wrote:
> C99 says of uintptr_t only that for any valid pointer p, the following
> is true:
>
> (void *)(uintptr_t)p == (void *)p
>
> Likewise for intptr_t. I read that as covering both code and data
> pointers.
C89, at least, does not guarantee that you can convert between code
and data pointers. I believe the same holds for C99.
- Damien
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010609004940.B50335>
