This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
prtdiff_t / void *
- From: Toebs Douglass <toby at winterflaw dot net>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Sun, 13 Aug 2017 13:41:47 +0200
- Subject: prtdiff_t / void *
- Authentication-results: sourceware.org; auth=none
Is it reasonable to assume a ptrdiff_t can be stored in a void * on the
vast majority of platforms supported by GCC?
Are there any known cases where ptrdiff_t isn't just a signed int, but
actually is a special, magic type?