|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
我在编译PLX公司提供的PLX9054驱动(WINdriver)时出现
Compiling...
p9054_lib.c
E:\PLX9054\plx_samples\9054\lib\p9054_lib.c(694) : error C2152: 'function' : pointers to functions with different attributes
E:\PLX9054\plx_samples\9054\lib\p9054_lib.c(694) : warning C4024: 'InterruptEnable' : different types for formal and actual parameter 4
我查了MSDN中对 error C2152的解释
'identifier' : pointers to functions with different attributes
An attempt was made to assign a pointer to a function declared with one calling convention (__cdecl, __fortran, __pascal, or __fastcall) to a pointer to a function declared with a different calling convention
不太明白,作了一些尝试改动都不行,请各位帮忙!
|
|