<?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>MCUXpresso IDEのトピックRe: c++ Project Compile Error about pointer</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/c-Project-Compile-Error-about-pointer/m-p/1394619#M7699</link>
    <description>&lt;P&gt;In C++, you cannot assign an integer to a pointer without proper cast.&lt;/P&gt;&lt;P&gt;You have to write something like this:&lt;/P&gt;&lt;P&gt;pRegAddr = (uint32_t*)0x12345678u;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Jan 2022 07:00:49 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2022-01-05T07:00:49Z</dc:date>
    <item>
      <title>c++ Project Compile Error about pointer</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/c-Project-Compile-Error-about-pointer/m-p/1394445#M7697</link>
      <description>&lt;P&gt;Good day.&lt;/P&gt;&lt;P&gt;I'm trying to solve the compile error regarding pointer, still I couldn't.&lt;/P&gt;&lt;P&gt;See the images.&lt;/P&gt;&lt;P&gt;I just use very simple pointer in order to read MCU register.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YS_Kwak_0-1641340190266.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166699iA59DA8CDCE83BDA3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YS_Kwak_0-1641340190266.png" alt="YS_Kwak_0-1641340190266.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But it always shows compile error "invalid conversion from 'uint32_t' {aka ~~~~~~~~"... &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YS_Kwak_1-1641340222233.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/166700i083CFCC39AFBB737/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YS_Kwak_1-1641340222233.png" alt="YS_Kwak_1-1641340222233.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me to solve this issue?.&lt;/P&gt;&lt;P&gt;Does this compile error come from wrong setting in IDE tool?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 23:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/c-Project-Compile-Error-about-pointer/m-p/1394445#M7697</guid>
      <dc:creator>YS_Kwak</dc:creator>
      <dc:date>2022-01-04T23:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: c++ Project Compile Error about pointer</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/c-Project-Compile-Error-about-pointer/m-p/1394619#M7699</link>
      <description>&lt;P&gt;In C++, you cannot assign an integer to a pointer without proper cast.&lt;/P&gt;&lt;P&gt;You have to write something like this:&lt;/P&gt;&lt;P&gt;pRegAddr = (uint32_t*)0x12345678u;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jan 2022 07:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/c-Project-Compile-Error-about-pointer/m-p/1394619#M7699</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2022-01-05T07:00:49Z</dc:date>
    </item>
  </channel>
</rss>

