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 /media/uploads/stanly88/iar_compile_error1.jpg

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

/media/uploads/stanly88/iar_compile_error2.jpg

Be the first to answer this question.