<?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>MPC5xxx中的主题 Re: how using va_arg on codewarrior 10.6 for MPC5604B</title>
    <link>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765281#M10921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is strange. Could you please send me your project? Maybe you have different project settings. I need to compare with my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Feb 2018 12:36:04 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2018-02-28T12:36:04Z</dc:date>
    <item>
      <title>how using va_arg on codewarrior 10.6 for MPC5604B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765278#M10918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18563i0E6A6869C72FF23E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18518i2B501090298EF3A7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 06:38:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765278#M10918</guid>
      <dc:creator>tengyao</dc:creator>
      <dc:date>2018-02-22T06:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: how using va_arg on codewarrior 10.6 for MPC5604B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765279#M10919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the code below and I am able to compile the project. Please check and let me know, if it works on your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdarg.h&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void printargs(int arg1, ...);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void printargs(int arg1, ...)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;va_list ap;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;int i;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; va_start(ap, arg1); &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; for (i = arg1; i &amp;gt;= 0; i = va_arg(ap, int))&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; va_end(ap);&lt;BR /&gt;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void) {&lt;BR /&gt;&amp;nbsp; volatile int i = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; printargs(1, -1);&lt;BR /&gt;&amp;nbsp; /* Loop forever */&lt;BR /&gt;&amp;nbsp; for (;;) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; i++;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 14:26:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765279#M10919</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2018-02-27T14:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: how using va_arg on codewarrior 10.6 for MPC5604B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765280#M10920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Thank you for your answer.I&amp;nbsp;According to your demo and Building the project.The compiled results are as follows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/20534i26B9F1132B8445A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 02:50:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765280#M10920</guid>
      <dc:creator>tengyao</dc:creator>
      <dc:date>2018-02-28T02:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: how using va_arg on codewarrior 10.6 for MPC5604B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765281#M10921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is strange. Could you please send me your project? Maybe you have different project settings. I need to compare with my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 12:36:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/how-using-va-arg-on-codewarrior-10-6-for-MPC5604B/m-p/765281#M10921</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2018-02-28T12:36:04Z</dc:date>
    </item>
  </channel>
</rss>

