<?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>topic Re: Problems compiling sample project for MC52235 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128761#M622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When you are in a define, it just cut and paste the define value until the end of line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If the define does not fit in one line, you are required to put a "\" at the end of the line to be able to continue at the next line within the same define value.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;  #define va_arg(ap, type) (*(type *)((ap += sizeof(type) \ + 3U &amp;amp; ~3U) - (sizeof(type) + 3U &amp;amp; ~3U)))&lt;/PRE&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2006 21:30:59 GMT</pubDate>
    <dc:creator>Alban</dc:creator>
    <dc:date>2006-08-30T21:30:59Z</dc:date>
    <item>
      <title>Problems compiling sample project for MC52235</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128760#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; I have the MC52235 DEMO board, and using codewarrier V6.3&amp;nbsp;that comes with it, I am trying to compile the free project that demonstrates the TCP stack,from NicheLite (project called coldfire_lite) from freescale web site.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have tried to build it but got the following error (many times throughout the code):&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;***** Error received ****&lt;/DIV&gt;&lt;DIV&gt;Error&amp;nbsp;&amp;nbsp; : unexpected end of line&lt;BR /&gt;(included from:&lt;BR /&gt;&amp;nbsp;cstdarg:40&lt;BR /&gt;&amp;nbsp;stdarg.h:17&lt;BR /&gt;&amp;nbsp;printf.c:9)&lt;BR /&gt;stdarg.68k.h line 20&amp;nbsp;&amp;nbsp;&amp;nbsp; #if __CFM68K__&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;**** Source ****&lt;/DIV&gt;&lt;DIV&gt;#if __STDABI__ || __REGABI__&lt;BR /&gt;&amp;nbsp;#define __va_start(parm) (__std(va_list)) (&amp;amp;parm + 1)&lt;BR /&gt;&amp;nbsp;#if __CFM68K__&lt;BR /&gt;&amp;nbsp;&amp;nbsp;#define va_arg(ap, type) (*(type *)((ap += sizeof(type) + 3U &amp;amp; ~3U) - (sizeof(type) + 3U &amp;amp; ~3U)))&lt;BR /&gt;&amp;nbsp;#else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;#define va_arg(ap, type) (*(type *)((ap += sizeof(type) + 3U &amp;amp; ~3U) - (sizeof(type))))&lt;BR /&gt;&amp;nbsp;#endif&lt;BR /&gt;#else&lt;BR /&gt;&amp;nbsp;#define __va_start(parm) (__std(va_list)) ((char *)&amp;amp;parm + (sizeof(parm) + (1U) &amp;amp; ~(1U)))&lt;BR /&gt;&amp;nbsp;#define va_arg(ap, type) (*(((type *) (ap += sizeof(type))) - 1))&lt;BR /&gt;#endif&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Anyone any ideas how to solve this?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Neil&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 18:27:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128760#M621</guid>
      <dc:creator>ND</dc:creator>
      <dc:date>2006-08-30T18:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling sample project for MC52235</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128761#M622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When you are in a define, it just cut and paste the define value until the end of line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If the define does not fit in one line, you are required to put a "\" at the end of the line to be able to continue at the next line within the same define value.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="msg_source_code"&gt;&lt;SPAN class="text_smallest"&gt;Code:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;  #define va_arg(ap, type) (*(type *)((ap += sizeof(type) \ + 3U &amp;amp; ~3U) - (sizeof(type) + 3U &amp;amp; ~3U)))&lt;/PRE&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 21:30:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128761#M622</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-08-30T21:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling sample project for MC52235</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128762#M623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Can you generate the preprocessor output?&lt;BR /&gt;I guess you have some macro conflict, for example a macro like&lt;BR /&gt;#define __CFM68K__ /*nothing*/&lt;BR /&gt;somewhere else would explain the error message.h.&lt;BR /&gt;Also trigraphs are a source of surprising preprocessor error messages, are tri/bi graphs&lt;BR /&gt;enabled?&lt;BR /&gt;&lt;BR /&gt;Daniel&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 09:07:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128762#M623</guid>
      <dc:creator>CompilerGuru</dc:creator>
      <dc:date>2006-08-31T09:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problems compiling sample project for MC52235</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128763#M624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Something has changed in the new 6.3 release of the compiler. Look for the line:&lt;/DIV&gt;&lt;DIV&gt;#define __MC68K__&lt;/DIV&gt;&lt;DIV&gt;in common.h and add a zero at the end:&lt;/DIV&gt;&lt;DIV&gt;#define __MC68K__ 0&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;We are working on fixing this ASAP.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Sep 2006 04:10:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Problems-compiling-sample-project-for-MC52235/m-p/128763#M624</guid>
      <dc:creator>DrSeuss</dc:creator>
      <dc:date>2006-09-02T04:10:18Z</dc:date>
    </item>
  </channel>
</rss>

