<?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: Complex type CW MCU 10.2 in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259254#M9893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to add C99 support on CW compiler options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think complex data type was integrated to C on C99 revision. For default, CW uses C without C99 , if you want C99 support you need to enable it on the compiler options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2013 23:39:16 GMT</pubDate>
    <dc:creator>carlos_neri</dc:creator>
    <dc:date>2013-08-19T23:39:16Z</dc:date>
    <item>
      <title>Complex type CW MCU 10.2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259253#M9892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to use a complex type in order to see the result returned by std::polar.&lt;/P&gt;&lt;P&gt;I see that the CW10.2 contains &amp;lt;complex.h&amp;gt; with the next definition:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#define complex&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _Complex;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;complex is not recognized like a type but _Complex apperas to be a type(the style it's the same as a int or void). Yet I get next error:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;undefined identifier '_Complex' ;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I use for a complex number if that is not correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 16:57:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259253#M9892</guid>
      <dc:creator>ioanacroitoru</dc:creator>
      <dc:date>2013-08-16T16:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Complex type CW MCU 10.2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259254#M9893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried to add C99 support on CW compiler options?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think complex data type was integrated to C on C99 revision. For default, CW uses C without C99 , if you want C99 support you need to enable it on the compiler options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2013 23:39:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259254#M9893</guid>
      <dc:creator>carlos_neri</dc:creator>
      <dc:date>2013-08-19T23:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Complex type CW MCU 10.2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259255#M9894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;First thank you for your answer.&lt;/P&gt;&lt;P&gt;Now I get the error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "complex types are not implemented"&lt;/P&gt;&lt;P&gt;I'm guessing that I can't use complex type alter all? Or what does this means?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 19:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259255#M9894</guid>
      <dc:creator>ioanacroitoru</dc:creator>
      <dc:date>2013-08-22T19:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Complex type CW MCU 10.2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259256#M9895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure which MCU device you're using, but here is my findings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems the Freescale ARM compiler does not supported, need to double check that (got the same result as you).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did the same test with GCC compiler within CW10.4 and it seems it supports it. Probably if your application allows it, you could move to GCC compiler using CW10,4?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 16:38:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259256#M9895</guid>
      <dc:creator>carlos_neri</dc:creator>
      <dc:date>2013-08-23T16:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Complex type CW MCU 10.2</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259257#M9896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I&amp;nbsp; met the same problem, How to set &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; C99 support on the compiler options,&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 08:46:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Complex-type-CW-MCU-10-2/m-p/259257#M9896</guid>
      <dc:creator>hebo</dc:creator>
      <dc:date>2014-04-22T08:46:34Z</dc:date>
    </item>
  </channel>
</rss>

