FILE is defined in two header files

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FILE is defined in two header files

Jump to solution
558 Views
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 Kudos
1 Solution
449 Views
mrupp_viatechno
Contributor III

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

View solution in original post

0 Kudos
1 Reply
450 Views
mrupp_viatechno
Contributor III

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

0 Kudos