Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 8 months ago.
mbed-src compile error in IAR EWARM
Hello, I exported mbed-src program to IAR EWARM Tool chain, I use IAR EWARM v6.60, and when I compile it, I encounter below 2 issues, these issues seems to be an declaration error, please give me some direction to solve this. Thank you very much. Stanly
1. Error[Pe734]: function "time32(std::time_t *)" conflicts with using-declaration of function "nounwind std::time32(unsigned int *)" D:\mbed\Project\Exam\mbed-src-program_iar_lpc1768\mbed-src-program\mbed-src\common\rtc_time.c 23
2. Error[Pe734]: function "clock()" conflicts with using-declaration of function "nounwind std::clock()" D:\mbed\Project\Exam\mbed-src-program_iar_lpc1768\mbed-src-program\mbed-src\common\rtc_time.c 51