IAR 8.32 
编译时报如下错误: 
Error[Pe235]: variable "__stdout" was declared with a never-completed type             Mini51DE_Series_BSP_CMSIS_v3.02.000\Library\StdDriver\src\retarget.c 43  
Error[Pe235]: variable "__stdin" was declared with a never-completed type               Mini51DE_Series_BSP_CMSIS_v3.02.000\Library\StdDriver\src\retarget.c 44  
 
但在Keil中则正常 
 
查找后发现原因应该为如下代码定义的问题,但不清楚为何要如此定义 
#if !(defined(__ICCARM__) && (__VER__ >= 6010000)) 
struct __FILE { int handle; /* Add whatever you need here */ }; 
#endif 
 
 
IAR中有对这个结构作定义吗? 
 
 |