<?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 CodeWarrior 6.2 Not Recognizing `typedef` and User-defined Types in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-6-2-Not-Recognizing-typedef-and-User-defined-Types/m-p/207055#M7980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using CodeWarrior 6.2, and it's not recognizing the `typedef` keyword or any user-defined types.&amp;nbsp; Right now I'm just trying to compile a workspace made with the New Project Wizard.&amp;nbsp; For example, the first error it gives:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error&amp;nbsp;&amp;nbsp; : declaration syntax error&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(included from:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; cstddef:24&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; stddef.h:17&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; hidef.h:22&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; main.c:1)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;size_t.h line 28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typedef _MSL_SIZE_T_TYPE size_t;&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems highly unusual to me.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2012 18:43:27 GMT</pubDate>
    <dc:creator>jimfell</dc:creator>
    <dc:date>2012-10-02T18:43:27Z</dc:date>
    <item>
      <title>CodeWarrior 6.2 Not Recognizing `typedef` and User-defined Types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-6-2-Not-Recognizing-typedef-and-User-defined-Types/m-p/207055#M7980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using CodeWarrior 6.2, and it's not recognizing the `typedef` keyword or any user-defined types.&amp;nbsp; Right now I'm just trying to compile a workspace made with the New Project Wizard.&amp;nbsp; For example, the first error it gives:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Error&amp;nbsp;&amp;nbsp; : declaration syntax error&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(included from:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; cstddef:24&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; stddef.h:17&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; hidef.h:22&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt; main.c:1)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;size_t.h line 28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; typedef _MSL_SIZE_T_TYPE size_t;&amp;nbsp; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px; padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems highly unusual to me.&amp;nbsp; Any ideas?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 18:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-6-2-Not-Recognizing-typedef-and-User-defined-Types/m-p/207055#M7980</guid>
      <dc:creator>jimfell</dc:creator>
      <dc:date>2012-10-02T18:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 6.2 Not Recognizing `typedef` and User-defined Types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-6-2-Not-Recognizing-typedef-and-User-defined-Types/m-p/207056#M7981</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 would suggest you to generate the preprocessor listing for the source file you are trying to build.&lt;/P&gt;&lt;P&gt;Open the file in an edit window click right inside of the file and select preprocess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There might be some unexpected macro substitution in your code.&lt;/P&gt;&lt;P&gt;The preprocessor listing will present you the code the compiler is seeing after all macros and includes&amp;nbsp; have been expanded.&lt;/P&gt;&lt;P&gt;This might help you determine where the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 09:14:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-6-2-Not-Recognizing-typedef-and-User-defined-Types/m-p/207056#M7981</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-10-03T09:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 6.2 Not Recognizing `typedef` and User-defined Types</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-6-2-Not-Recognizing-typedef-and-User-defined-Types/m-p/207057#M7982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue has been resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was a result of how I was defining pre-defined constants in the project settings.&amp;nbsp; I had entered one contant per line, which is how other compilers do this, but the textbox for predefined symbols actually needs to be treated as if it were a text file.&amp;nbsp; Each symbol needs to be entered as `#define SYMBOL`.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 16:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/CodeWarrior-6-2-Not-Recognizing-typedef-and-User-defined-Types/m-p/207057#M7982</guid>
      <dc:creator>jimfell</dc:creator>
      <dc:date>2012-10-04T16:31:05Z</dc:date>
    </item>
  </channel>
</rss>

