<?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 use c++ in keil not working right in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/use-c-in-keil-not-working-right/m-p/765943#M30820</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;h&lt;/P&gt;&lt;P&gt;i i have a project that i use c and now i want use some c++ code i put --cpp11 in misc controll and it get me this errors&lt;/P&gt;&lt;PRE class="language-cpp"&gt;&lt;CODE&gt;C&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;\Keil_v5\ARM\PACK\Keil\MDK&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;Middleware\&lt;SPAN class="number token"&gt;7.4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;\Network\Include\net_rtos&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;h&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;83&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; error&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;&amp;nbsp; #&lt;SPAN class="number token"&gt;167&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; argument of type &lt;SPAN class="string token"&gt;"NETOS_ID"&lt;/SPAN&gt; is incompatible with parameter of type &lt;SPAN class="string token"&gt;"osTimerId"&lt;/SPAN&gt;
C&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\&lt;SPAN class="number token"&gt;2.3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;\RTE_Driver\UART_LPC17xx&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;c&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2525&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; error&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;&amp;nbsp; #&lt;SPAN class="number token"&gt;334&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"_ARM_USART_STATUS"&lt;/SPAN&gt; has no suitable copy constructor
Main\Eth\TCPCallBack&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;c&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;121&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; error&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;&amp;nbsp; #&lt;SPAN class="number token"&gt;167&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; argument of type &lt;SPAN class="string token"&gt;"const char *"&lt;/SPAN&gt; is incompatible with parameter of type &lt;SPAN class="string token"&gt;"std::uint8_t *"&lt;/SPAN&gt;‍‍‍
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;these r some of errors that i recieved.&lt;/P&gt;&lt;P&gt;u see that all of this error is in keil library that is readonly.&lt;/P&gt;&lt;P&gt;what should i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Nov 2017 10:10:31 GMT</pubDate>
    <dc:creator>navidansari</dc:creator>
    <dc:date>2017-11-11T10:10:31Z</dc:date>
    <item>
      <title>use c++ in keil not working right</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/use-c-in-keil-not-working-right/m-p/765943#M30820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;h&lt;/P&gt;&lt;P&gt;i i have a project that i use c and now i want use some c++ code i put --cpp11 in misc controll and it get me this errors&lt;/P&gt;&lt;PRE class="language-cpp"&gt;&lt;CODE&gt;C&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;\Keil_v5\ARM\PACK\Keil\MDK&lt;SPAN class="operator token"&gt;-&lt;/SPAN&gt;Middleware\&lt;SPAN class="number token"&gt;7.4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;\Network\Include\net_rtos&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;h&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;83&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; error&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;&amp;nbsp; #&lt;SPAN class="number token"&gt;167&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; argument of type &lt;SPAN class="string token"&gt;"NETOS_ID"&lt;/SPAN&gt; is incompatible with parameter of type &lt;SPAN class="string token"&gt;"osTimerId"&lt;/SPAN&gt;
C&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;\Keil_v5\ARM\PACK\Keil\LPC1700_DFP\&lt;SPAN class="number token"&gt;2.3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;\RTE_Driver\UART_LPC17xx&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;c&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2525&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; error&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;&amp;nbsp; #&lt;SPAN class="number token"&gt;334&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"_ARM_USART_STATUS"&lt;/SPAN&gt; has no suitable copy constructor
Main\Eth\TCPCallBack&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;c&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;121&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; error&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt;&amp;nbsp; #&lt;SPAN class="number token"&gt;167&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;:&lt;/SPAN&gt; argument of type &lt;SPAN class="string token"&gt;"const char *"&lt;/SPAN&gt; is incompatible with parameter of type &lt;SPAN class="string token"&gt;"std::uint8_t *"&lt;/SPAN&gt;‍‍‍
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;these r some of errors that i recieved.&lt;/P&gt;&lt;P&gt;u see that all of this error is in keil library that is readonly.&lt;/P&gt;&lt;P&gt;what should i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2017 10:10:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/use-c-in-keil-not-working-right/m-p/765943#M30820</guid>
      <dc:creator>navidansari</dc:creator>
      <dc:date>2017-11-11T10:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: use c++ in keil not working right</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/use-c-in-keil-not-working-right/m-p/765944#M30821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tough one, maybe ask Keil as it is their product you are having a problem with ?&amp;nbsp;&lt;A class="link-titled" href="http://www.keil.com/support/" title="http://www.keil.com/support/"&gt;Keil Product Support&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Nov 2017 13:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/use-c-in-keil-not-working-right/m-p/765944#M30821</guid>
      <dc:creator>carstengroen</dc:creator>
      <dc:date>2017-11-11T13:37:57Z</dc:date>
    </item>
  </channel>
</rss>

