<?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>8-bit MicrocontrollersのトピックRe: the problem about Function Pointer and Array~~~</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/the-problem-about-Function-Pointer-and-Array/m-p/139779#M5461</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi &lt;SPAN&gt;CrasyCat&lt;/SPAN&gt; &lt;FONT color="#CC0000"&gt;,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#CC0000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#CC0000"&gt;thank you for your help.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#CC0000"&gt;it really solved the problem..&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;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jun 2006 10:01:03 GMT</pubDate>
    <dc:creator>eos33</dc:creator>
    <dc:date>2006-06-16T10:01:03Z</dc:date>
    <item>
      <title>the problem about Function Pointer and Array~~~</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/the-problem-about-Function-Pointer-and-Array/m-p/139777#M5459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;hi there,&lt;/DIV&gt;&lt;DIV&gt;I am try to define the array for LCM display and want to write a function for it.&lt;/DIV&gt;&lt;DIV&gt;like this..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;const Byte pic[ ] ={......................}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;main(){&lt;/DIV&gt;&lt;DIV&gt;..&lt;/DIV&gt;&lt;DIV&gt;show_pic(pic);&lt;/DIV&gt;&lt;DIV&gt;..}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;void show_pic(char *ptr){&lt;/DIV&gt;&lt;DIV&gt;......}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But while I am compiling,the compiler shows the message&lt;/DIV&gt;&lt;DIV&gt;"&lt;A target="_blank"&gt;C1825: Indirection to different types&lt;/A&gt;"....&lt;/DIV&gt;&lt;DIV&gt;If I denfine the array in the RAM,then the compiler could finish the compiling.&lt;/DIV&gt;&lt;DIV&gt;Byte pic[ ]={......}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thank you for your kindly help..&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/the-problem-about-Function-Pointer-and-Array/m-p/139777#M5459</guid>
      <dc:creator>eos33</dc:creator>
      <dc:date>2006-06-15T17:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: the problem about Function Pointer and Array~~~</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/the-problem-about-Function-Pointer-and-Array/m-p/139778#M5460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I assume you are using CodeWarrior for HC08 V5.x.&lt;/P&gt;&lt;P&gt;In fact the compiler notifies you that you have passed a constant pointer to character to a function expecting a pointer to character.&lt;/P&gt;&lt;P&gt;This message is a warning per default as required by ANSI C standard.&lt;/P&gt;&lt;P&gt;You can disable this warning activating the option -Ec.&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2006 17:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/the-problem-about-Function-Pointer-and-Array/m-p/139778#M5460</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-06-15T17:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: the problem about Function Pointer and Array~~~</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/the-problem-about-Function-Pointer-and-Array/m-p/139779#M5461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hi &lt;SPAN&gt;CrasyCat&lt;/SPAN&gt; &lt;FONT color="#CC0000"&gt;,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#CC0000"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#CC0000"&gt;thank you for your help.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#CC0000"&gt;it really solved the problem..&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;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 10:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/the-problem-about-Function-Pointer-and-Array/m-p/139779#M5461</guid>
      <dc:creator>eos33</dc:creator>
      <dc:date>2006-06-16T10:01:03Z</dc:date>
    </item>
  </channel>
</rss>

