<?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 56F807, CW 8.3, stdbool.h, where is _Bool defined in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F807-CW-8-3-stdbool-h-where-is-Bool-defined/m-p/823746#M7548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I added stdbool.h to my project, I got the warning " #warning "MSL support for C99 is not enabled ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at stdbool.h in the folder:&lt;/P&gt;&lt;P&gt;C:\Program Files\Freescale\CodeWarrior for DSC56800E v8.3\M56800 Support\msl\MSL_C\MSL_Common\Include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On line 32 it has this define: &amp;nbsp;&amp;nbsp; " #define bool&amp;nbsp;&amp;nbsp;&amp;nbsp; _Bool ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three questions:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1) Where is _Bool defined?&lt;/P&gt;&lt;P&gt;I grepped the whole directory tree starting at:&lt;/P&gt;&lt;P&gt;" C:\Program Files\Freescale\CodeWarrior for DSC56800E v8.3\ ".&lt;/P&gt;&lt;P&gt;I did not find the definition for _Bool in any file.&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;2) What is the proper way to enable C99 mode in the compiler?&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;3) Why is that not enabled by default?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Aug 2018 17:34:59 GMT</pubDate>
    <dc:creator>j___</dc:creator>
    <dc:date>2018-08-24T17:34:59Z</dc:date>
    <item>
      <title>56F807, CW 8.3, stdbool.h, where is _Bool defined</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F807-CW-8-3-stdbool-h-where-is-Bool-defined/m-p/823746#M7548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I added stdbool.h to my project, I got the warning " #warning "MSL support for C99 is not enabled ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at stdbool.h in the folder:&lt;/P&gt;&lt;P&gt;C:\Program Files\Freescale\CodeWarrior for DSC56800E v8.3\M56800 Support\msl\MSL_C\MSL_Common\Include&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On line 32 it has this define: &amp;nbsp;&amp;nbsp; " #define bool&amp;nbsp;&amp;nbsp;&amp;nbsp; _Bool ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three questions:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;1) Where is _Bool defined?&lt;/P&gt;&lt;P&gt;I grepped the whole directory tree starting at:&lt;/P&gt;&lt;P&gt;" C:\Program Files\Freescale\CodeWarrior for DSC56800E v8.3\ ".&lt;/P&gt;&lt;P&gt;I did not find the definition for _Bool in any file.&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;2) What is the proper way to enable C99 mode in the compiler?&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;3) Why is that not enabled by default?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 17:34:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F807-CW-8-3-stdbool-h-where-is-Bool-defined/m-p/823746#M7548</guid>
      <dc:creator>j___</dc:creator>
      <dc:date>2018-08-24T17:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: 56F807, CW 8.3, stdbool.h, where is _Bool defined</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F807-CW-8-3-stdbool-h-where-is-Bool-defined/m-p/823747#M7549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;_Bool is a CW built-in boolean type. it it redefined as bool in stdbool.h.&lt;/P&gt;&lt;P&gt;If you want to use &lt;STRONG&gt;bool&lt;/STRONG&gt;, we need follow below steps:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69759i447900F815510341/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69634iEBFEFEDB5853EE60/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For detail, see my attached video.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 09:24:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/56F807-CW-8-3-stdbool-h-where-is-Bool-defined/m-p/823747#M7549</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2018-08-28T09:24:08Z</dc:date>
    </item>
  </channel>
</rss>

