<?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 Free scale Code warrior issue in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Free-scale-Code-warrior-issue/m-p/162835#M2846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my code i have defined two variable globally as a temporery variable.&lt;/P&gt;&lt;P&gt;When i tried to use them in the main function their value is set.&lt;/P&gt;&lt;P&gt;let i,j are globally defined variable.&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;if(i==1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;function();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Here in this function, The value of i is 1 but still the execution is not entering into the fiunction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that when i did like this&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{int temp;&lt;/P&gt;&lt;P&gt;temp =i;&lt;/P&gt;&lt;P&gt;if(temp == 1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;function();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Using this method it is working.&lt;/P&gt;&lt;P&gt;I will be vary thankful to you if anybody tell me the reason. Any alternative solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2012 13:07:14 GMT</pubDate>
    <dc:creator>rahulkhandelwal</dc:creator>
    <dc:date>2012-05-14T13:07:14Z</dc:date>
    <item>
      <title>Free scale Code warrior issue</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Free-scale-Code-warrior-issue/m-p/162835#M2846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my code i have defined two variable globally as a temporery variable.&lt;/P&gt;&lt;P&gt;When i tried to use them in the main function their value is set.&lt;/P&gt;&lt;P&gt;let i,j are globally defined variable.&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;if(i==1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;function();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Here in this function, The value of i is 1 but still the execution is not entering into the fiunction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that when i did like this&lt;/P&gt;&lt;P&gt;void main()&lt;/P&gt;&lt;P&gt;{int temp;&lt;/P&gt;&lt;P&gt;temp =i;&lt;/P&gt;&lt;P&gt;if(temp == 1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;function();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;Using this method it is working.&lt;/P&gt;&lt;P&gt;I will be vary thankful to you if anybody tell me the reason. Any alternative solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 13:07:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Free-scale-Code-warrior-issue/m-p/162835#M2846</guid>
      <dc:creator>rahulkhandelwal</dc:creator>
      <dc:date>2012-05-14T13:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Free scale Code warrior issue</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Free-scale-Code-warrior-issue/m-p/162836#M2847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Which CPU are you targeting (HC08, HC12, Coldfire, ..)&lt;BR /&gt;- Which version of CodeWarrior are you using?&lt;BR /&gt;&amp;nbsp; To retrieve that info (For version number smaller than 10.0):&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About Freescale CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Click on "Install Products"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - CodeWarrior version used is displayed on top in the Installed Products dialog.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; To retrieve that info (For version number 10.0 and higher):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Start CodeWarrior&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Select Help -&amp;gt; About CodeWarrior Development Studio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - Version and build number are indicated under&amp;nbsp; "Installed Products" section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 18:42:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Free-scale-Code-warrior-issue/m-p/162836#M2847</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2012-05-14T18:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Free scale Code warrior issue</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Free-scale-Code-warrior-issue/m-p/162837#M2848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is something I have discovered about Code Warrior:&lt;/P&gt;&lt;P&gt;I don't know if it applies to your situation or not.&lt;/P&gt;&lt;P&gt;I have a project that contains multiple files.&lt;/P&gt;&lt;P&gt;In one file a global variable is defined char in the other uint_8. The compiler reserves 4 spaces because although the variable is 8 bits in both cases it isn't the same type.&lt;/P&gt;&lt;P&gt;In one file I had declared a variable as int and the other as uint_32 (by mistake) and my logic wouldn't parse correctly.&lt;/P&gt;&lt;P&gt;I was suprised that I didn't get any warning or error from this. Subsequently I found four more instances where there was a mismatch between extern global variables. This cured a lot of freaky issues I was having.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 20:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Free-scale-Code-warrior-issue/m-p/162837#M2848</guid>
      <dc:creator>drummer</dc:creator>
      <dc:date>2012-05-14T20:34:39Z</dc:date>
    </item>
  </channel>
</rss>

