This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: making sizeof(void*) different from sizeof(void(*)())
Basile Starynkevitch <basile@starynkevitch.net> writes:
> `dlsym` is the obvious hint
Most programs don't use dlsym.
> also simply that most (probably nearly all) Linux/ELF systems and Unix systems have same
> size for data and function pointers.
Those that don't use function descriptors.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."