<?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>S12 / MagniV MicrocontrollersのトピックCode warrior/OSEK C to C++ conversion</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Code-warrior-OSEK-C-to-C-conversion/m-p/130570#M1405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have spent many hours trying to get files in C to work fith C++ files to no avail. I start out in C, because the OSEKturbo will only be noticed in Code Warrior that way. I then include C++ files and everything falls apart. The extern "c" {} does not seem to work right either.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are there any ways or tricks to use between files (c to C++) to make them play with each other. Also I am using the Professional version of C.W. which is suppose to work in asm, c, and c++ together&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MikeX&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2006 05:06:30 GMT</pubDate>
    <dc:creator>MIkeX</dc:creator>
    <dc:date>2006-03-30T05:06:30Z</dc:date>
    <item>
      <title>Code warrior/OSEK C to C++ conversion</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Code-warrior-OSEK-C-to-C-conversion/m-p/130570#M1405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I have spent many hours trying to get files in C to work fith C++ files to no avail. I start out in C, because the OSEKturbo will only be noticed in Code Warrior that way. I then include C++ files and everything falls apart. The extern "c" {} does not seem to work right either.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are there any ways or tricks to use between files (c to C++) to make them play with each other. Also I am using the Professional version of C.W. which is suppose to work in asm, c, and c++ together&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;MikeX&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2006 05:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Code-warrior-OSEK-C-to-C-conversion/m-p/130570#M1405</guid>
      <dc:creator>MIkeX</dc:creator>
      <dc:date>2006-03-30T05:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Code warrior/OSEK C to C++ conversion</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Code-warrior-OSEK-C-to-C-conversion/m-p/130571#M1406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Which processor are you targeting (HC08, HC12, MPC5xx, ...)?&lt;/DIV&gt;&lt;DIV&gt;Which version of CodeWarrior are you using?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have used extern "C"&amp;nbsp; in several occasion and it was working.&lt;/DIV&gt;&lt;DIV&gt;Note that extern "C" should be used when you include ANSI C header files in a C++ source file.&lt;/DIV&gt;&lt;DIV&gt;Reading your message I have the impression you are trying to do the opposite.&lt;/DIV&gt;&lt;DIV&gt;Basically you cannot include a C++ header file in a ANSI C source file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2006 15:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Code-warrior-OSEK-C-to-C-conversion/m-p/130571#M1406</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-03-31T15:21:59Z</dc:date>
    </item>
  </channel>
</rss>

