FILE is defined in two header files

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FILE is defined in two header files

ソリューションへジャンプ
1,480件の閲覧回数
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,371件の閲覧回数
mrupp_viatechno
Contributor III

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,372件の閲覧回数
mrupp_viatechno
Contributor III

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

0 件の賞賛
返信