AnsweredAssumed Answered

wchar.h and MQX IO incompatibility

Question asked by Jessica García on Feb 14, 2013
Latest reply on Feb 18, 2013 by Martin Kojtal

Hi all,


Working with uVision IDE, I want to use the standard library "wchar.h" provided by Keil because I need functions to process wide character strings in my project.

I can not include "wchar.h" and MQX file "fio.h" in the same project because it causes compiler errors like this:


In "fio.h", it has been defined:



But in "wchar.h":


      typedef struct __FILE FILE





Both "fio.h" and "wchar.h" are necessary... I know I could edit "wchar.h" file, but I am not sure of modifying standard libraries is the best way...



So, any ideas? What would you do if you were me?