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?
Solved! Go to Solution.
The problem was including stdio.h. Removed '#INCLUDE <stdio.h>' and problem solved and program builds.
The problem was including stdio.h. Removed '#INCLUDE <stdio.h>' and problem solved and program builds.