<?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: Bug: Code analysis mistakes variables for functions</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-mistakes-variables-for-functions/m-p/850767#M3432</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the code analysis module (aka "CODAN") within MCUXpresso IDE is the standard one provided by the underlying Eclipse/CDT framework, not something that we contribute to&amp;nbsp;or have any direct control over. &amp;nbsp;Thus I'm afraid that this problem is not something we can assist with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, you can find more background on CODAN at:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://wiki.eclipse.org/CDT/designs/StaticAnalysis" title="https://wiki.eclipse.org/CDT/designs/StaticAnalysis"&gt;CDT/designs/StaticAnalysis - Eclipsepedia&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.ptp.pldt.doc.user%2Fhtml%2Fcodan.html" title="https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.ptp.pldt.doc.user%2Fhtml%2Fcodan.html"&gt;Help - Eclipse Platform&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Apr 2019 21:25:23 GMT</pubDate>
    <dc:creator>lpcxpresso_supp</dc:creator>
    <dc:date>2019-04-08T21:25:23Z</dc:date>
    <item>
      <title>Bug: Code analysis mistakes variables for functions</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-mistakes-variables-for-functions/m-p/850766#M3431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code analysis module seems to have a bug relating to the handling of function pointer typedefs.&amp;nbsp; If you've got a typedef for a function pointer type that returns a typedef type like uint8_t, the analyzer will treat variable declarations of type uint8_t as function declarations and if they're declared static it'll warn that you've got an unused static function declaration:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot 2019-04-05 20.29.49.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/71174i58B9C97E2F6C4C08/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2019-04-05 20.29.49.png" alt="Screenshot 2019-04-05 20.29.49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this example, the expansion of 'uint8_t' is coming from one of the bare metal USB stack v5 files, which exist in the project tree but are in a folder excluded from the build and not in the include hierarchy of this file.&amp;nbsp; There are a few other similar typedefs for callbacks in my code and it's possible it's coming from something in the include hierarchy as well.&amp;nbsp; In any case, it shouldn't be happening.&amp;nbsp; Unused function declarations are one of the warnings that I always try to take care of and this isn't leaving me any option except to disable the check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 16:26:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-mistakes-variables-for-functions/m-p/850766#M3431</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2019-04-08T16:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis mistakes variables for functions</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-mistakes-variables-for-functions/m-p/850767#M3432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately the code analysis module (aka "CODAN") within MCUXpresso IDE is the standard one provided by the underlying Eclipse/CDT framework, not something that we contribute to&amp;nbsp;or have any direct control over. &amp;nbsp;Thus I'm afraid that this problem is not something we can assist with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, you can find more background on CODAN at:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://wiki.eclipse.org/CDT/designs/StaticAnalysis" title="https://wiki.eclipse.org/CDT/designs/StaticAnalysis"&gt;CDT/designs/StaticAnalysis - Eclipsepedia&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A class="link-titled" href="https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.ptp.pldt.doc.user%2Fhtml%2Fcodan.html" title="https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.ptp.pldt.doc.user%2Fhtml%2Fcodan.html"&gt;Help - Eclipse Platform&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 21:25:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-mistakes-variables-for-functions/m-p/850767#M3432</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2019-04-08T21:25:23Z</dc:date>
    </item>
  </channel>
</rss>

