On Sun, Aug 3, 2008 at 7:36 PM, Rene Herman <rene.herman@xxxxxxxxxxxx> wrote:
>>
>>
>> How does this work ? :-( ....... Isn't gcc supposed to catch this and
>> flag warning unless I am missing something very obvious.
>
> In C, except as an operand of sizeof or unary &, an _expression_ having
> function type is automatically converted from function type to pointer to
> function.
>
> Or put differently: except for sizeof and unary &, "function_designator" and
> "&function_designator" are interchangeable as expressions.