<?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: CW 10.4 - g++ compiler in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-10-4-g-compiler/m-p/266380#M10059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Acasa,&lt;/P&gt;&lt;P&gt;It might be that your project is not using the C++ nature. It means that unfortunately you cannot simply add C++ files to a C project: the project needs to be set up for C++.&lt;/P&gt;&lt;P&gt;The two articles below are on this topic, so they might help in your situation:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/03/23/compiling-c-files-with-gnu-arm-g/" title="http://mcuoneclipse.com/2013/03/23/compiling-c-files-with-gnu-arm-g/"&gt;Compiling C Files with GNU ARM G++ | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/10/04/processor-expert-gcc-c-and-kinetis-l-and-mqxlite/" title="http://mcuoneclipse.com/2012/10/04/processor-expert-gcc-c-and-kinetis-l-and-mqxlite/"&gt;Processor Expert, gcc C++ and Kinetis-L with MQXLite | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jul 2013 09:05:47 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2013-07-11T09:05:47Z</dc:date>
    <item>
      <title>CW 10.4 - g++ compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-10-4-g-compiler/m-p/266379#M10058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: justify;"&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;First of all i would like to apologise if this problem has been resolved on other thread. I did a search but i couldn't find anything.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The problem is that when i try to compile a c++ file using gcc(g++ lite) it doesn't work. It doesn't compile the file. I am using CodeWarrior 10.4. Also i'd like to mention that i have a twk70f120m but i don't think this is relevant to this matter.&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I've installed CodeSourcery to get the g++ compiler, I've also tried to give the IDE the direct path to the compiler but still nothing. Also i've used all the compilers for ARM (g++) that CW has and it didn't work. I am trying to fix this problem for quite a few days now.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please help.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; text-align: justify;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Regards,&lt;/P&gt;&lt;P style="text-align: justify;"&gt;Radu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 08:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-10-4-g-compiler/m-p/266379#M10058</guid>
      <dc:creator>acasaacasa</dc:creator>
      <dc:date>2013-07-11T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: CW 10.4 - g++ compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-10-4-g-compiler/m-p/266380#M10059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Acasa,&lt;/P&gt;&lt;P&gt;It might be that your project is not using the C++ nature. It means that unfortunately you cannot simply add C++ files to a C project: the project needs to be set up for C++.&lt;/P&gt;&lt;P&gt;The two articles below are on this topic, so they might help in your situation:&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2013/03/23/compiling-c-files-with-gnu-arm-g/" title="http://mcuoneclipse.com/2013/03/23/compiling-c-files-with-gnu-arm-g/"&gt;Compiling C Files with GNU ARM G++ | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://mcuoneclipse.com/2012/10/04/processor-expert-gcc-c-and-kinetis-l-and-mqxlite/" title="http://mcuoneclipse.com/2012/10/04/processor-expert-gcc-c-and-kinetis-l-and-mqxlite/"&gt;Processor Expert, gcc C++ and Kinetis-L with MQXLite | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 09:05:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-10-4-g-compiler/m-p/266380#M10059</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-07-11T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: CW 10.4 - g++ compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-10-4-g-compiler/m-p/266381#M10060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. It didn't really fixed the problem but it pointed me to the right direction. I managed to fix the issue doing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new workspace, i did a drag and drop on the project cplus from MQX for CW10gcc and i copied all the settings from that project to a new MQX project including the paths for the MQX libraries. Looks like it did the job. I had to do the drag and drop because if I added the cplus project using the new-&amp;gt;project etc it didn't load the right one. Anyway, thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Acasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 07:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CW-10-4-g-compiler/m-p/266381#M10060</guid>
      <dc:creator>acasaacasa</dc:creator>
      <dc:date>2013-07-12T07:13:24Z</dc:date>
    </item>
  </channel>
</rss>

