<?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 Re: Bug: Code analysis settings not saved in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866275#M3645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested with a new workspace and the &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;TWRK21F120M&lt;SPAN&gt;&amp;nbsp;hello_world demo and it saved OK.&amp;nbsp; I switched back to my normal workspace and it saved at least the first time I tried it, and then I switched it from 'info' to 'warning' and tried again and it's back to not saving.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Creating a new workspace every week and re-importing my projects for every little bug isn't really an option.&amp;nbsp; I'd like to see this one fixed, but it's not a priority for me and if no one's interested I'll drop this one.&amp;nbsp; I'll go create another thread for the code analysis bug, which is the more annoying one.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Apr 2019 16:19:17 GMT</pubDate>
    <dc:creator>scottm</dc:creator>
    <dc:date>2019-04-08T16:19:17Z</dc:date>
    <item>
      <title>Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866267#M3637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just ran into this in MCUX 10.3.&amp;nbsp; If you go into the code analysis settings and disable problems and then hit 'apply' or 'apply and save', it discards your changes.&amp;nbsp; To get it to save, you have to also change something else about the entry, like its severity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason I'm disabling a warning is that there seems to be another bug that I haven't noticed before.&amp;nbsp; For some reason, static variables with file scope are reported as unused function declarations, when they are neither unused nor functions declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2019 20:28:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866267#M3637</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2019-03-31T20:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866268#M3638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;Do you mean Code Analysis option here? I tried disabling an error then apply and close. next time I see the the change take effect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68341i8A8EAC6AD513FC92/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there any misunderstanding ? if yes, please send me screenshots/video of how to reproduce your issue. Thus I can check it further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 08:22:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866268#M3638</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-04-01T08:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866269#M3639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's the one.&amp;nbsp; Only today it's working correctly - no trouble at all saving settings.&amp;nbsp; AND the problem with static variables showing up as unused function declarations has gone away.&amp;nbsp; That's bizarre.&amp;nbsp; I spent probably 15 minutes trying to figure that out yesterday and I have no idea what might have changed.&amp;nbsp; I'll let you know if it comes back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can the code analysis be run from the command line?&amp;nbsp; Does it generate a diagnostic output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&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, 01 Apr 2019 15:50:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866269#M3639</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2019-04-01T15:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866270#M3640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott&lt;/P&gt;&lt;P&gt;No, I don't think it can run from command line&lt;/P&gt;&lt;P&gt;Jun Zhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 03:06:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866270#M3640</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-04-02T03:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866271#M3641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't mind spending money, PC-Lint is a very comprehensive C/C++ static analysis tool, that can be run from the command line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 08:00:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866271#M3641</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2019-04-02T08:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866272#M3642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was only talking about running it from the command line for the sake of troubleshooting its output.&amp;nbsp; It's working well enough now.&amp;nbsp; And I've looked at PC-Lint before, but the built-in analyzer has been generally good enough for my needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2019 16:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866272#M3642</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2019-04-02T16:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866273#M3643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It started doing it again and this time I captured a video.&amp;nbsp; This video shows both the problem with the settings not saving, and static variables showing up as unused function declarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the code analysis problem itself, it looks like the problem is the code analyzer not handling typedefs for function pointers correctly.&amp;nbsp; If I mouse over the uint8_t type, I get this:&lt;/P&gt;&lt;P&gt;&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/79164iEA6295A084B1C648/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;If I ctrl-click on uint8_t it takes me to stdint.h like you'd expect.&amp;nbsp; The definition it's finding is in the old USB stack v5, which is in a folder excluded from this build, and usb_class.h isn't even in the file's include hierarchy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's a separate problem from the settings bug, which I'll try to attach a video for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Apr 2019 03:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866273#M3643</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2019-04-06T03:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866274#M3644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;Seems your feedback includes other questions, If that is a separated question, please create new thread for it.&lt;/P&gt;&lt;P&gt;your &lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/servlet/JiveServlet/download/1135665-1-444734/2019-04-05 20-24-36.mp4"&gt;2019-04-05 20-24-36.mp4&lt;/A&gt; is for your original problem, right? If yes,&lt;/P&gt;&lt;P&gt;- how it works if you create a new workspace to test the problem?&lt;/P&gt;&lt;P&gt;- how it works if you rebuild the project after you modifying the setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the problem keep same for above two tests, I need reproduce them anyway, Which demo code you are working with ( link?)? you will test it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 03:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866274#M3644</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-04-08T03:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866275#M3645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tested with a new workspace and the &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;TWRK21F120M&lt;SPAN&gt;&amp;nbsp;hello_world demo and it saved OK.&amp;nbsp; I switched back to my normal workspace and it saved at least the first time I tried it, and then I switched it from 'info' to 'warning' and tried again and it's back to not saving.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Creating a new workspace every week and re-importing my projects for every little bug isn't really an option.&amp;nbsp; I'd like to see this one fixed, but it's not a priority for me and if no one's interested I'll drop this one.&amp;nbsp; I'll go create another thread for the code analysis bug, which is the more annoying one.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 16:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866275#M3645</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2019-04-08T16:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866276#M3646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;So the project in a clean workspace works normal.     &lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;Eclipse maintains many settings and history files inside the workspace &lt;EM&gt;.metadata&lt;/EM&gt; folder. I wonder some files in this folder get messy. To test it, we can remove .metadata folder in this workspace then try again. If you don't want to lost workspace setting, use this tip to export/import workspace settings.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2012/04/04/copy-my-workspace-settings/" title="https://mcuoneclipse.com/2012/04/04/copy-my-workspace-settings/"&gt;Copy my workspace settings | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To find the root cause of your issue, we have to reproduce it first. If you get the steps of how to reproduce the problem starting from a clean workspace. Please let me know. I will investigate it further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 04:30:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866276#M3646</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-04-09T04:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866277#M3647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I figure out how to cause it repeatably from a fresh workspace, I'll let you know.&amp;nbsp; I have limited time to hunt it down right now.&amp;nbsp; I figured this would be an easy fix, just something missing a check for a changed item, but&amp;nbsp;it sounds like there's more than that going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2019 15:59:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866277#M3647</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2019-04-09T15:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bug: Code analysis settings not saved</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866278#M3648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, If you find out how to reproduce the issue, please let me know. Thanks.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jun Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 06:48:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/Bug-Code-analysis-settings-not-saved/m-p/866278#M3648</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2019-04-10T06:48:23Z</dc:date>
    </item>
  </channel>
</rss>

