<?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>Processor Expert Software中的主题 Phantom errors reported in Processor Expert Driver suite</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Phantom-errors-reported-in-Processor-Expert-Driver-suite/m-p/281647#M1946</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Processor Expert (PEx) Driver Suite (the non-CodeWarrior stand-alone version) uses the Eclipse IDE.&amp;nbsp; And Eclipse is a powerful IDE and editor with much intelligence built into it to aid in developing code.&amp;nbsp; But sometimes it is too smart.&amp;nbsp; If you use PEx and open a generated source file, it is common to find Eclipse report many errors in the source file, as shown here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="errors.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119294iECB33ECDD3D48921/image-size/large?v=v2&amp;amp;px=999" role="button" title="errors.jpg" alt="errors.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are phantom errors, reported by Eclipse because it is not aware of all the files included in a project.&amp;nbsp; When Eclipse is used as the build tool, the compiler settings will include paths for the header files, and Eclipse will use those details to find where many symbols in source files are defined.&amp;nbsp; But with the PEx Driver Suite, it is not a build tool, and doesn't tell Eclipse where to find the header files with these definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can disable the Code Analysis feature in Eclipse easily, and make these phantom errors go away.&amp;nbsp; Use the menu Window -&amp;gt; Preferences.&amp;nbsp; Under "Code Analysis", uncheck all the code issues Eclipse monitors.&amp;nbsp; Now it will stop reporting these phantom errors.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="code analysis.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119295i2410EC3BB74867AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="code analysis.jpg" alt="code analysis.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you already have errors reported in the Problems tab, changing these preferences won't flush the errors.&amp;nbsp; But you can eliminate them like this.&amp;nbsp; Right-Click an error in the Problems tab and select "Select All":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="all.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119296i9A81E4929114C12C/image-size/large?v=v2&amp;amp;px=999" role="button" title="all.jpg" alt="all.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Delete.&amp;nbsp; Now there Errors are removed from the Problems View, and Eclipse will no longer report Code Analysis errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 19:27:41 GMT</pubDate>
    <dc:creator>dereksnell</dc:creator>
    <dc:date>2013-04-23T19:27:41Z</dc:date>
    <item>
      <title>Phantom errors reported in Processor Expert Driver suite</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Phantom-errors-reported-in-Processor-Expert-Driver-suite/m-p/281647#M1946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Processor Expert (PEx) Driver Suite (the non-CodeWarrior stand-alone version) uses the Eclipse IDE.&amp;nbsp; And Eclipse is a powerful IDE and editor with much intelligence built into it to aid in developing code.&amp;nbsp; But sometimes it is too smart.&amp;nbsp; If you use PEx and open a generated source file, it is common to find Eclipse report many errors in the source file, as shown here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="errors.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119294iECB33ECDD3D48921/image-size/large?v=v2&amp;amp;px=999" role="button" title="errors.jpg" alt="errors.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are phantom errors, reported by Eclipse because it is not aware of all the files included in a project.&amp;nbsp; When Eclipse is used as the build tool, the compiler settings will include paths for the header files, and Eclipse will use those details to find where many symbols in source files are defined.&amp;nbsp; But with the PEx Driver Suite, it is not a build tool, and doesn't tell Eclipse where to find the header files with these definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you can disable the Code Analysis feature in Eclipse easily, and make these phantom errors go away.&amp;nbsp; Use the menu Window -&amp;gt; Preferences.&amp;nbsp; Under "Code Analysis", uncheck all the code issues Eclipse monitors.&amp;nbsp; Now it will stop reporting these phantom errors.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="code analysis.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119295i2410EC3BB74867AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="code analysis.jpg" alt="code analysis.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you already have errors reported in the Problems tab, changing these preferences won't flush the errors.&amp;nbsp; But you can eliminate them like this.&amp;nbsp; Right-Click an error in the Problems tab and select "Select All":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="all.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119296i9A81E4929114C12C/image-size/large?v=v2&amp;amp;px=999" role="button" title="all.jpg" alt="all.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Delete.&amp;nbsp; Now there Errors are removed from the Problems View, and Eclipse will no longer report Code Analysis errors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 19:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Phantom-errors-reported-in-Processor-Expert-Driver-suite/m-p/281647#M1946</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2013-04-23T19:27:41Z</dc:date>
    </item>
  </channel>
</rss>

