ADS1.2下面编译出错.请进来详细看.
函数原型:
boolean IDATECTL_GetDate
(
IDateCtl * pIDateCtl,
unsigned int * pnYear,
unsigned int * pnMonth,
unsigned int * pnDay
)
程序中的调用:
...
unsigned int yyyy;
unsigned int mm ;
unsigned int dd;
DATECTL_GetDate(pMe->pDate,&yyyy,&mm,&dd);
...
报错位置和内容:
<argument 2 to funtion call>:implicit cast of pointer to non-equal pointer;
<argument 3 to funtion call>:implicit cast of pointer to non-equal pointer;
<argument 4 to funtion call>:implicit cast of pointer to non-equal pointer
在VC下编译没错误没警告.
在GCC下没试过.但是在高通的论坛上看到说可以通过.
但是到了ADS下面就报上述错误了.
不知道错在哪儿了?
请各位指点.