This is the mail archive of the
mailing list for the GCC project.
Re: making sizeof(void*) different from sizeof(void(*)())
On 4/29/2012 12:47 PM, Basile Starynkevitch wrote:
My biased point of view is that designing a processor instruction set (for POSIX-like
systems or standard C software in mind) with function pointers of different size than
data pointers is today a mistake: most software make the implicit assumption that all
pointers have the same size.
What's your data for "most" here? I would have guessed that most
software doesn't care.