<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MQX Software Solutionsのトピックwchar.h and MQX IO incompatibility</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/wchar-h-and-MQX-IO-incompatibility/m-p/258762#M7622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I can not include "wchar.h" and MQX file "fio.h" in the same project because it causes compiler errors like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In "fio.h", it has been defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;typedef MQX_FILE FILE&lt;/P&gt;&lt;P style="text-align: left;"&gt;But in "wchar.h":&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typedef struct __FILE FILE&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;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...&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;So, any ideas? What would you do if you were me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Feb 2013 10:56:37 GMT</pubDate>
    <dc:creator>jessg_</dc:creator>
    <dc:date>2013-02-14T10:56:37Z</dc:date>
    <item>
      <title>wchar.h and MQX IO incompatibility</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/wchar-h-and-MQX-IO-incompatibility/m-p/258762#M7622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;I can not include "wchar.h" and MQX file "fio.h" in the same project because it causes compiler errors like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In "fio.h", it has been defined:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;typedef MQX_FILE FILE&lt;/P&gt;&lt;P style="text-align: left;"&gt;But in "wchar.h":&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typedef struct __FILE FILE&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: center;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;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...&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;So, any ideas? What would you do if you were me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 10:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/wchar-h-and-MQX-IO-incompatibility/m-p/258762#M7622</guid>
      <dc:creator>jessg_</dc:creator>
      <dc:date>2013-02-14T10:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: wchar.h and MQX IO incompatibility</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/wchar-h-and-MQX-IO-incompatibility/m-p/258763#M7623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jesicca Garcia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe there are more errors which you have not included in your post. There might be a way, if possible to disable "features" which MQX redeclare, like FILE redeclaration : Use macro __ARM_WCHAR_NO_IO to disable FILE redeclaration and I/O function prototypes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2013 07:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/wchar-h-and-MQX-IO-incompatibility/m-p/258763#M7623</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2013-02-18T07:38:24Z</dc:date>
    </item>
  </channel>
</rss>

