<?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 Compiler Warnings with &amp;quot;-Wpedantic&amp;quot; in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/1949163#M1840</link>
    <description>&lt;P&gt;Hello NXP team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you test the target code for Freemaster (the one running on the microcontroller) with higher warning levels and make it warning-free? May I recommend the following warning flags:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-Wall&lt;/P&gt;&lt;P&gt;-Wextra&lt;/P&gt;&lt;P&gt;-Wpedantic&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code raises several Compiler-Warnings with the warning-settings from above. The following three warnings, lead to linker errors when LTO is activated:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Masmiseim_0-1725635176108.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297632i454F730E2A8FA3E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Masmiseim_0-1725635176108.png" alt="Masmiseim_0-1725635176108.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The following linker Errors with LTO active are created when the warnings are not solved:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Masmiseim_1-1725635176109.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297631iC69002C8099438E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Masmiseim_1-1725635176109.png" alt="Masmiseim_1-1725635176109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Yes, at first glance these seem to have nothing to do with the warnings. It took me a while to understand the problem.&lt;/P&gt;&lt;P&gt;GCC13 was used on iMXRT1170.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;</description>
    <pubDate>Fri, 06 Sep 2024 15:08:19 GMT</pubDate>
    <dc:creator>Masmiseim</dc:creator>
    <dc:date>2024-09-06T15:08:19Z</dc:date>
    <item>
      <title>Compiler Warnings with "-Wpedantic"</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/1949163#M1840</link>
      <description>&lt;P&gt;Hello NXP team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you test the target code for Freemaster (the one running on the microcontroller) with higher warning levels and make it warning-free? May I recommend the following warning flags:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-Wall&lt;/P&gt;&lt;P&gt;-Wextra&lt;/P&gt;&lt;P&gt;-Wpedantic&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code raises several Compiler-Warnings with the warning-settings from above. The following three warnings, lead to linker errors when LTO is activated:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Masmiseim_0-1725635176108.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297632i454F730E2A8FA3E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Masmiseim_0-1725635176108.png" alt="Masmiseim_0-1725635176108.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The following linker Errors with LTO active are created when the warnings are not solved:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Masmiseim_1-1725635176109.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/297631iC69002C8099438E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Masmiseim_1-1725635176109.png" alt="Masmiseim_1-1725635176109.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Yes, at first glance these seem to have nothing to do with the warnings. It took me a while to understand the problem.&lt;/P&gt;&lt;P&gt;GCC13 was used on iMXRT1170.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 15:08:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/1949163#M1840</guid>
      <dc:creator>Masmiseim</dc:creator>
      <dc:date>2024-09-06T15:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler Warnings with "-Wpedantic"</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/1955472#M1848</link>
      <description>&lt;P&gt;I agree&lt;BR /&gt;&lt;BR /&gt;To add to this, I also suggest to remove warnings generated with &lt;FONT face="courier new,courier"&gt;-Wundef&lt;/FONT&gt; (which seems not to be included in &lt;FONT face="courier new,courier"&gt;-Wall&lt;/FONT&gt;?)as the Freemaster header files checks a lot of potentially undefined precompiler constants.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 07:43:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/1955472#M1848</guid>
      <dc:creator>Prof_Farnsworth</dc:creator>
      <dc:date>2024-09-17T07:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler Warnings with "-Wpedantic"</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/2065547#M1968</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34487"&gt;@MichalH&lt;/a&gt;,&lt;BR /&gt;please can you have a look on this request. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 12:06:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/2065547#M1968</guid>
      <dc:creator>scotty</dc:creator>
      <dc:date>2025-03-20T12:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler Warnings with "-Wpedantic"</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/2066095#M1972</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
&lt;P&gt;we did address most of the -Wpedantic issues in the latest version of the FreeMASTER driver. You can check the code here:&amp;nbsp;&lt;A href="https://github.com/nxp-mcuxpresso/mcux-freemaster" target="_blank"&gt;https://github.com/nxp-mcuxpresso/mcux-freemaster&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We'll continue the effort in next versions.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Michal&lt;/P&gt;</description>
      <pubDate>Fri, 21 Mar 2025 07:27:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/2066095#M1972</guid>
      <dc:creator>MichalH</dc:creator>
      <dc:date>2025-03-21T07:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Compiler Warnings with "-Wpedantic"</title>
      <link>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/2066177#M1973</link>
      <description>Michal, thanks for your prompt response. I think we do not use the latest driver code from this repository right now. We will check this out.&lt;BR /&gt;Have a good day&lt;BR /&gt;michaeL</description>
      <pubDate>Fri, 21 Mar 2025 08:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/Compiler-Warnings-with-quot-Wpedantic-quot/m-p/2066177#M1973</guid>
      <dc:creator>scotty</dc:creator>
      <dc:date>2025-03-21T08:47:37Z</dc:date>
    </item>
  </channel>
</rss>

