__stdcall typedef g ++问题

这段代码编译(正如我所料):
typedef void __stdcall (*Func)();

struct A {
    static void __stdcall f() { }
};

int main() {
    Func p = A::f;
}
但是这一个:
struct A {
    typedef void __stdcall (*Func)();
    static void __stdcall f() { }
};

int main() {
    A::Func p = A::f;
}
失败时出现不太有用的错误消息:
error: invalid conversion from `void (*)()' to `void (*)()'
我在Vista下使用g ++ 3.4.2(我知道,它很古老,但我现在无法访问任何其他环境)。显然我在这里遗漏了一些东西。任何帮助,将不胜感激。     
已邀请:
语法是
void(__stdcall *)()
,而不是
void __stdcall (*)()
。     

要回复问题请先登录注册