FILE is defined in two header files

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FILE is defined in two header files

跳至解决方案
1,475 次查看
mrupp_viatechno
Contributor III

I am using CodeWarrior 10.6 with MQX 4.0 and am having a problem where FILE is defined in two header files.  It is defined in file_struc.h (ARM_EABI_Support) and in fio.h (psp).  I have tried various defines such as MQX_SUPPRESS_FILE_DEF and _AEABI_PORTABILITY_LEVEL but these just result in different redefine errors.

 

Any ideas on how to fix the multiple definitions?

0 项奖励
回复
1 解答
1,366 次查看
mrupp_viatechno
Contributor III

The problem was including stdio.h.  Removed '#INCLUDE <stdio.h>' and problem solved and program builds.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,367 次查看
mrupp_viatechno
Contributor III

The problem was including stdio.h.  Removed '#INCLUDE <stdio.h>' and problem solved and program builds.

0 项奖励
回复