<?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>LPCXpresso IDEのトピックRe: [LPCXpresso v8.1.0] Compile Error for Inline Functions</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-v8-1-0-Compile-Error-for-Inline-Functions/m-p/548348#M10503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiantek on Sun Feb 28 22:02:36 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem solved. It is a problem of porting to GCC 5. Different semantics for inline functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Flpcxpresso-latest-release" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/lpcxpresso-latest-release&lt;/A&gt;&lt;SPAN&gt; (change log)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgcc.gnu.org%2Fgcc-5%2Fporting_to.html" rel="nofollow" target="_blank"&gt;https://gcc.gnu.org/gcc-5/porting_to.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:05:54 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:05:54Z</dc:date>
    <item>
      <title>[LPCXpresso v8.1.0] Compile Error for Inline Functions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-v8-1-0-Compile-Error-for-Inline-Functions/m-p/548347#M10502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiantek on Sun Feb 28 20:29:31 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, after upgrading to the new IDE, compiler prompted error on all inline functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, I had errors for following function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"more undefined references to `waitMs' follow"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Millisecond Delay */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;inline void waitMs(uint32_t time)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;while (time--)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;volatile uint32_t i;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for (i = 0; i &amp;lt; (12*1000); i++) {;}//This logic was tested for 1 millisecond delay&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas what went wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:05:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-v8-1-0-Compile-Error-for-Inline-Functions/m-p/548347#M10502</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: [LPCXpresso v8.1.0] Compile Error for Inline Functions</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-v8-1-0-Compile-Error-for-Inline-Functions/m-p/548348#M10503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiantek on Sun Feb 28 22:02:36 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem solved. It is a problem of porting to GCC 5. Different semantics for inline functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fforum%2Flpcxpresso-latest-release" rel="nofollow" target="_blank"&gt;https://www.lpcware.com/content/forum/lpcxpresso-latest-release&lt;/A&gt;&lt;SPAN&gt; (change log)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgcc.gnu.org%2Fgcc-5%2Fporting_to.html" rel="nofollow" target="_blank"&gt;https://gcc.gnu.org/gcc-5/porting_to.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPCXpresso-v8-1-0-Compile-Error-for-Inline-Functions/m-p/548348#M10503</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:05:54Z</dc:date>
    </item>
  </channel>
</rss>

