<?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 Fatal Errors in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fatal-Errors/m-p/603165#M13087</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 am getting few fatal errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;- FATAL C4440: Unknown directive: endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;- FATAL C4438: Missing endif directive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have proper closing of ifdef / ifndef&amp;nbsp;directives and respective endif directives at the end. Yet, I am getting these errors in HC12 compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone knows about the same or similar error and solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2017 16:22:36 GMT</pubDate>
    <dc:creator>sagardhavali</dc:creator>
    <dc:date>2017-02-27T16:22:36Z</dc:date>
    <item>
      <title>Fatal Errors</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fatal-Errors/m-p/603165#M13087</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 am getting few fatal errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;- FATAL C4440: Unknown directive: endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;- FATAL C4438: Missing endif directive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have proper closing of ifdef / ifndef&amp;nbsp;directives and respective endif directives at the end. Yet, I am getting these errors in HC12 compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone knows about the same or similar error and solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 16:22:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fatal-Errors/m-p/603165#M13087</guid>
      <dc:creator>sagardhavali</dc:creator>
      <dc:date>2017-02-27T16:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fatal Errors</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fatal-Errors/m-p/603166#M13088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is not clear which compiler you use and what is the structure of your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I see no problem if you use it for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ifndef _COMDEF_H&lt;BR /&gt;#define _COMDEF_H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "derivative.h"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* derivative-specific definitions */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define UBYTE unsigned char&lt;BR /&gt;#define SBYTE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; char&lt;BR /&gt;#define UWORD&amp;nbsp; unsigned int&lt;BR /&gt;#define SWORD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int&lt;BR /&gt;#define ULONG unsigned long&lt;BR /&gt;#define SLONG&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; long&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define BOOL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UBYTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this does not helps then it is necessary to get more precise info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 10:59:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Fatal-Errors/m-p/603166#M13088</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2017-02-28T10:59:17Z</dc:date>
    </item>
  </channel>
</rss>

