why this testcase compile failed for gcc.
Ian Lance Taylor
iant@google.com
Mon Feb 21 16:00:00 GMT 2011
zhang qingshan <steven.zhang54373@gmail.com> writes:
> IMO, function pointer is a pointer which its type descriptor is a
> function type ...
>
> Any difference with the normal pointer?
The C standard does not require that a function pointer use the same
representation as any other type of pointer. In particular, on
processors with Harvard architectures, function pointers and regular
pointers are inherently different.
Ian
More information about the Gcc-help
mailing list