<?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: mpc5748G SDK compiler errors and warnings in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707030#M191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK guys updated little bit directory structure and forgot update some examples. In next release will be path removed. You can remove the include path by yourself from greened out options in project properties:&lt;/P&gt;&lt;P&gt;&lt;BR /&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/31580iD8F54E0BC40ED056/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Oct 2017 07:22:58 GMT</pubDate>
    <dc:creator>jiri_kral</dc:creator>
    <dc:date>2017-10-17T07:22:58Z</dc:date>
    <item>
      <title>mpc5748G SDK compiler errors and warnings</title>
      <link>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707027#M188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i'm trying to import from an example project (&lt;SPAN&gt;flexcan_mpc5748g)&lt;/SPAN&gt; using the SDK for 5847G. it seems i would need to do two extra steps before i can compile: 1, attach the SDK after import is completed; 2, generate code from ProcExpert.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this seems to work if i try to build right after the code gen from procExpert except a few warnings about non-existance path in the SDK, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;Invalid project path: Include path not found (C:\NXP\S32DS_Power_v1.2\S32DS\S32_SDK_MPC574xx_EAR_0.8.1\platform\pal\inc). flexcan_mpc5748g pathentry Path Entry Problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;Invalid project path: Missing project folder or file: \flexcan_mpc5748g\MPC5748G_SDK_Z4_0_GCC for Source path. flexcan_mpc5748g pathentry Path Entry Problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while i was trying to follow the link, the mentioned pal\inc path indeed does not exist. while i was exploring around the generated sdk code (note this is after the .elf has been generated for the project), some code from the sdk starts to show red marks complaining "type bool could not be resolved". for example, in the clock_manager.c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;status_t CLOCK_SYS_UpdateConfiguration(uint8_t targetConfigIndex,&lt;BR /&gt; clock_manager_policy_t policy)&lt;BR /&gt;{&lt;BR /&gt; uint8_t callbackIdx;&lt;BR /&gt; bool successfulSetConfig;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this would prevent me from any further rebuild of the same project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so my question is two folds: 1, why i could build the project in the first place and generated the proj.elf? was there precompiled files from proc expert being copied to my proj folder? 2, what was the compiler settings or language settings that causes the bool type error? C99 defines bool but not C89/90 i guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gzhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Oct 2017 23:50:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707027#M188</guid>
      <dc:creator>leonggz</dc:creator>
      <dc:date>2017-10-15T23:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5748G SDK compiler errors and warnings</title>
      <link>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707028#M189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for report - I can reproduce the behavior. So - about your questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you switch back from 89/90 dialect to 99 dialect - you can see errors about bool type. But if you check the console output - the .elf file is properly generated. The false-positive errors are caused by Eclipse Indexer. You can right click on project -&amp;gt; Index -&amp;gt; Rebuild and the bool "errors" will&amp;nbsp;disappear.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&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/33141i4D323B7EE1A1C2A2/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Yes - in 89/90 dialect is not bool type present and switching back to C99 without Index rebuild shows errors related to bool type. But project itself is compiled successfully.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707028#M189</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-10-16T11:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5748G SDK compiler errors and warnings</title>
      <link>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707029#M190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the confirmation, Jiri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you check the missing directory warning as well? it's a warning only but every time i click on the SDK menu there is a popup trying to add those paths back. our project would require 'warning free' from the compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gzhang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 16:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707029#M190</guid>
      <dc:creator>leonggz</dc:creator>
      <dc:date>2017-10-16T16:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5748G SDK compiler errors and warnings</title>
      <link>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707030#M191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDK guys updated little bit directory structure and forgot update some examples. In next release will be path removed. You can remove the include path by yourself from greened out options in project properties:&lt;/P&gt;&lt;P&gt;&lt;BR /&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/31580iD8F54E0BC40ED056/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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 07:22:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/mpc5748G-SDK-compiler-errors-and-warnings/m-p/707030#M191</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2017-10-17T07:22:58Z</dc:date>
    </item>
  </channel>
</rss>

