This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]