|
在remake_modis后,在日志中的错误信息如下:
--------------------Configuration: mmi_framework - Win32 Debug--------------------
Compiling...
smscore.c
D:\MTK\MCU_NFC-2\plutommi\mmi\miscframework\miscframeworksrc\smscore.c(4488) : error C2146: syntax error : missing ')' before identifier 'contentLen'
D:\MTK\MCU_NFC-2\plutommi\mmi\miscframework\miscframeworksrc\smscore.c(4488) : error C2081: 'UINT16' : name in formal parameter list illegal
D:\MTK\MCU_NFC-2\plutommi\mmi\miscframework\miscframeworksrc\smscore.c(4488) : error C2061: syntax error : identifier 'contentLen'
D:\MTK\MCU_NFC-2\plutommi\mmi\miscframework\miscframeworksrc\smscore.c(4488) : error C2059: syntax error : ';'
D:\MTK\MCU_NFC-2\plutommi\mmi\miscframework\miscframeworksrc\smscore.c(4488) : error C2059: syntax error : ','
Error executing cl.exe.
mmi_framework.lib - 5 error(s), 0 warning(s)
仔细检查了一下smscore.c文件,没有发现语法错误,请各位大虾指点,谢谢!
P.S:源文件相关的部分代码如下:
蓝色的为日志文件指出错误的那行
#define ENABLE_SEND_SMS_OLD
#ifdef ENABLE_SEND_SMS_OLD
void Dema_utils_send_sms(
S8* sms_content, //Unicode str
UINT16 contentLen,[/COLOR]
S8* addr,//char str
void (*resSuccfunc)(void),
void (*resFailfunc)(void),
UINT16 code
)
{
mmi_frm_sms_send_struct *sendData = OslMalloc(sizeof(mmi_frm_sms_send_struct));
U16 wbuf[80],temp_wbuf[32];
char temp_buf[32], temp_x[21];
memset((S8*) sendData, 0, sizeof(mmi_frm_sms_send_struct));
memset((S8*) wbuf, 0, sizeof(wbuf));
memset((S8*) temp_wbuf, 0, sizeof(temp_wbuf));
memset((S8*) temp_buf, 0, sizeof(temp_buf));
strcpy((char*)sendData->number ,(char*)addr); |
|