error C2275: ‘TOKEN’ : illegal use of this type as an expression
W_INT4 New_550_ROEWE_ThrottleSensor(TOKEN *pToken)
{
W_INT4 iRet = 1,iPromMode = 0;
iRet = InitMenuID(0x1a06004D);
AddMenuTextID(0x1a06005A);
AddMenuTextID(0x1a06005B);
W_INT2 iDefaultMenuItem = -1;
iRet = ShowMenuGetSelectedItem(iDefaultMenuItem,0,NULL);
iPromMode = iRet + 1;
switch(iPromMode)
{
case 1:
iRet = IP21MCE_NWE550_ECM1_Adaptive_Reset(TOKEN *pTokenpToken);
break;
case 2:
iRet = IP21MCE_NWE550_ECM2_Adaptive_Reset(TOKEN *pTokenpToken);
break;
}
return iRet;
}
Small problem, but the error is reported when the Internet check is the format of c99 to specify the problem, the definition is not at the beginning of the function, this is also wrong here. Record the problem.
Similar Posts:
- [swscaler @ …] deprecated pixel format used, make sure you did set range correctly
- [Solved] A label can only be part of statement and a declaratioin is not a statement
- error C2276: ‘&’ : illegal operation on bound member function expression
- [Solved] echart Error: Can’t get dom width or height
- What is the reason why the easygbs client calls token and reports an error “refer to set unsafe header” cookie “
- .\Objects\BH-F103.axf: Error: L6218E: Undefined symbol RCC_APB2PeriphClkCmd (referred from bsp_led.o).
- 140. Word Break II
- [How to Solve] expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__
- Prepared statement needs to be re prepared
- [Solved] Clang: error: linker command failed with exit code 1