<?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>MCUXpresso IDEのトピックRe: inttypes.h fails to define PRIi64 and friends with newlib</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1868223#M9790</link>
    <description>&lt;P&gt;I found the same issue to exist in both the 11.9.1 and 11.8.1 releases. As suggested in the bug report adding `#include &amp;lt;sys/_stdint.h&amp;gt;` before `#include &amp;lt;inttypes.h&amp;gt;` does seem to do the trick but this is obviously not a good long term work around.&lt;BR /&gt;&lt;BR /&gt;I was testing with the pub-sub demo from&amp;nbsp;&lt;A href="https://github.com/FreeRTOS/iot-reference-nxp-rt1060" target="_self"&gt;https://github.com/FreeRTOS/iot-reference-nxp-rt1060&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2024 18:03:52 GMT</pubDate>
    <dc:creator>kstribrnAmzn</dc:creator>
    <dc:date>2024-05-17T18:03:52Z</dc:date>
    <item>
      <title>inttypes.h fails to define PRIi64 and friends with newlib</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1861500#M9742</link>
      <description>&lt;P&gt;Basically what Jonathan wrote in his Debian bug report also applies to MCUXpresso (11.9.0, I havent tried .1 yet): &lt;A href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067692" target="_blank" rel="noopener"&gt;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067692&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This can be reproduced in the hello world example for any i.mx rt device (I have only tested RT1021):&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;switch to any newlib or newlib-nano configuration in the linker section of the project configuration,&lt;/LI&gt;&lt;LI&gt;add #include &amp;lt;inttypes.h&amp;gt;&lt;/LI&gt;&lt;LI&gt;change the output statement to PRINTF("Hello World %" PRId64 "\r\n", 42ULL);&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Building will then fail with:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;error: expected ')' before 'PRId64'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adding the workaround of adding #include &amp;lt;sys/_stdint.h&amp;gt; before inttypes.h makes it build as explained in the bug report.described&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 May 2024 13:35:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1861500#M9742</guid>
      <dc:creator>stefanct</dc:creator>
      <dc:date>2024-05-08T13:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: inttypes.h fails to define PRIi64 and friends with newlib</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1862795#M9754</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223506"&gt;@stefanct&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for reporting this issue. I will relay it to the IDE team for their consideration.&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;Edwin.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 19:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1862795#M9754</guid>
      <dc:creator>EdwinHz</dc:creator>
      <dc:date>2024-05-09T19:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: inttypes.h fails to define PRIi64 and friends with newlib</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1863124#M9758</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Note that Newlib/NewlibNano libraries are not under the control of the IDE.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;The MCUXpresso IDE bundles an unmodified form of the GNU ARM Embedded Toolchain comprising the GNU compiler and supporting runtime including newlib / newlib-nano.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Adrian&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2024 06:38:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1863124#M9758</guid>
      <dc:creator>AdrianOltean</dc:creator>
      <dc:date>2024-05-10T06:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: inttypes.h fails to define PRIi64 and friends with newlib</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1868223#M9790</link>
      <description>&lt;P&gt;I found the same issue to exist in both the 11.9.1 and 11.8.1 releases. As suggested in the bug report adding `#include &amp;lt;sys/_stdint.h&amp;gt;` before `#include &amp;lt;inttypes.h&amp;gt;` does seem to do the trick but this is obviously not a good long term work around.&lt;BR /&gt;&lt;BR /&gt;I was testing with the pub-sub demo from&amp;nbsp;&lt;A href="https://github.com/FreeRTOS/iot-reference-nxp-rt1060" target="_self"&gt;https://github.com/FreeRTOS/iot-reference-nxp-rt1060&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 18:03:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/inttypes-h-fails-to-define-PRIi64-and-friends-with-newlib/m-p/1868223#M9790</guid>
      <dc:creator>kstribrnAmzn</dc:creator>
      <dc:date>2024-05-17T18:03:52Z</dc:date>
    </item>
  </channel>
</rss>

