why this testcase compile failed for gcc.

Jonathan Wakely jwakely.gcc@gmail.com
Mon Feb 21 11:28:00 GMT 2011


On 21 February 2011 06:31, zhang qingshan wrote:
> IMO, function pointer is a pointer which its type descriptor is a
> function type ...
>
> Any difference with the normal pointer?

An lvalue of function type T can be implicitly converted to T*.

That is not true for non-function types.



More information about the Gcc-help mailing list