Re: why this testcase compile failed for gcc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



zhang qingshan <steven.zhang54373@xxxxxxxxx> 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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux