vc2010 声明函数指针错误
vc2010, 安装了SP1
声明函数指针居然出现错误
#include "stdafx.h"
typedef int aint1;
int _tmain(int argc, _TCHAR* argv[])
{
typedef void __stdcall (*Fp2)(int);
return 0;
}
出现下面错误
c:\a3\a3.cpp(10): error C2059: syntax error : '('
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
请问是什么原因阿?谢谢!