<?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: Problem with jumping from a function to another and back again in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160792#M4418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;kef wrote:&lt;BR /&gt;&lt;P&gt;Do you mean compiler produces warnings or doesn't compile at all because of missing testing() prototype? Then add it above self_test():&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;byte testing(void);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thx for the reply. The compiler cannot compile at all because it cannot find testing(). And if I put testing() above self_test(), then the compiler will not be able to find self_test(). Therefore I'm only able to jump from one function to&amp;nbsp;the other,&amp;nbsp;but not vice versa.. lol. I've tried&amp;nbsp;inserting "byte testing(void);" above self_test(). But&amp;nbsp;the compiler still cannot compile&amp;nbsp;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 16:46:09 GMT</pubDate>
    <dc:creator>admin</dc:creator>
    <dc:date>2009-03-11T16:46:09Z</dc:date>
    <item>
      <title>Problem with jumping from a function to another and back again</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160790#M4416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. Below are 2 functions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;byte self_test(void)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;testing();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;byte testing(void)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self_test();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;From the &lt;SPAN style="color: #0000ff;"&gt;testing&lt;/SPAN&gt; function, I'm able to jump to the&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;self_test &lt;SPAN style="color: #000000;"&gt;function&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;since the &lt;SPAN style="color: #ff0000;"&gt;self_test&lt;/SPAN&gt; function is declared &lt;STRONG&gt;&lt;EM&gt;above&lt;/EM&gt;&lt;/STRONG&gt; the &lt;SPAN style="color: #0000ff;"&gt;testing&lt;/SPAN&gt; function. However, I'm unable to jump to the &lt;SPAN style="color: #0000ff;"&gt;testing&lt;/SPAN&gt; function if I'm in the &lt;SPAN style="color: #ff0000;"&gt;self_test&lt;/SPAN&gt; function because the &lt;SPAN style="color: #0000ff;"&gt;testing&lt;/SPAN&gt; function is &lt;SPAN style="color: #000000;"&gt;declared&lt;/SPAN&gt; &lt;STRONG&gt;&lt;EM&gt;below&lt;/EM&gt;&lt;/STRONG&gt; the &lt;SPAN style="color: #ff0000;"&gt;self_test&lt;/SPAN&gt; &lt;SPAN style="color: #000000;"&gt;function&lt;/SPAN&gt;. Anyone knows a way to jump between these 2 functions continuously? Thx &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif"&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 15:31:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160790#M4416</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-03-11T15:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with jumping from a function to another and back again</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160791#M4417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean compiler produces warnings or doesn't compile at all because of missing testing() prototype? Then add it above self_test():&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;byte testing(void);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 16:13:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160791#M4417</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2009-03-11T16:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with jumping from a function to another and back again</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160792#M4418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;kef wrote:&lt;BR /&gt;&lt;P&gt;Do you mean compiler produces warnings or doesn't compile at all because of missing testing() prototype? Then add it above self_test():&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;byte testing(void);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Thx for the reply. The compiler cannot compile at all because it cannot find testing(). And if I put testing() above self_test(), then the compiler will not be able to find self_test(). Therefore I'm only able to jump from one function to&amp;nbsp;the other,&amp;nbsp;but not vice versa.. lol. I've tried&amp;nbsp;inserting "byte testing(void);" above self_test(). But&amp;nbsp;the compiler still cannot compile&amp;nbsp;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 16:46:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160792#M4418</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-03-11T16:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with jumping from a function to another and back again</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160793#M4419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;If prototypes doesn't solve it, the problem is related to something else. Post the code.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 16:57:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160793#M4419</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2009-03-11T16:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with jumping from a function to another and back again</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160794#M4420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Lundin wrote:&lt;BR /&gt;If prototypes doesn't solve it, the problem is related to something else. Post the code.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT color="#000000"&gt;Here's the portion I added. I&amp;nbsp;inserted&amp;nbsp;"byte testing(void);" above self_test(), but it still doesn't compile&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;FONT color="#0000ff"&gt;byte testing(void);&lt;/FONT&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;byte self_test(void)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;testing();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;byte testing(void)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;self_test();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 15:11:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160794#M4420</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-03-12T15:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with jumping from a function to another and back again</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160795#M4421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cryptical,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does the complier reports? Can you post here the compiler error message? I guess the problem is somewhere else.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Stanish&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Mar 2009 22:09:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160795#M4421</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2009-03-12T22:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with jumping from a function to another and back again</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160796#M4422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;stanish wrote:&lt;BR /&gt;&lt;P&gt;Cryptical,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does the complier reports? Can you post here the compiler error message? I guess the problem is somewhere else.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Stanish&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;Hi. I've tested kef's method again. Now it works. I don't know what went wrong before. Lol. Thx for the help guys &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 08:05:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Problem-with-jumping-from-a-function-to-another-and-back-again/m-p/160796#M4422</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2009-03-13T08:05:45Z</dc:date>
    </item>
  </channel>
</rss>

