本帖最后由 wnwnwn 于 2013-10-28 09:43 编辑
用EWARM编译这段代码报错
#pragma import(__use_no_semihosting)
struct __FILE
{
int handle;
/* Whatever you require here. If the only file you are using is */
/* standard output using printf() for debugging, no file handling */
/* is required. */
};
/* FILE is typedef’ d in stdio.h. */
FILE __stdout;
1、无法识别#pragma
2、重定义__FILE
请问如何解决呢?
|