<?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>CodeWarrior Development ToolsのトピックRe: MCU chc08, C99, MISRA-2012 compliance?</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MCU-chc08-C99-MISRA-2012-compliance/m-p/243261#M141</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/359327#359327" title="https://community.freescale.com/message/359327#359327"&gt;https://community.freescale.com/message/359327#359327&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Oct 2013 02:30:19 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2013-10-30T02:30:19Z</dc:date>
    <item>
      <title>MCU chc08, C99, MISRA-2012 compliance?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MCU-chc08-C99-MISRA-2012-compliance/m-p/243260#M140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project using the MCU chc08 compiler analyzed with a static analysis tool for checking MISRA-2012 compliance. One of the top hit rule violations comes up from some CodeWarrior generated code itself in the IO_map.c module complaining about usage of &lt;SPAN style="font-family: courier new,courier;"&gt;unsigned char&lt;/SPAN&gt; (i.e. &lt;SPAN style="font-family: courier new,courier;"&gt;uint8_t&lt;/SPAN&gt;) for declaration of bitset types (only un-/signed int/long/enum types are allowed as underlying types for ANSI-C/C98).&lt;/P&gt;&lt;P&gt;The compiler documentation is a bit unclear about this particular point, and what chc08 implementation will generate for them. As it is, it all reads a bit contradictory for me.&lt;/P&gt;&lt;P&gt;Does this version support using 'unsigned char' as underlying type for bitsets as they are used to interface the MCU registers, despite what it's telling about it's general ANSI-C(C98)/C99 support??&lt;/P&gt;&lt;P&gt;I would be happy to leave out this rule as not relevant for this compiler!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 22:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MCU-chc08-C99-MISRA-2012-compliance/m-p/243260#M140</guid>
      <dc:creator>makulik</dc:creator>
      <dc:date>2013-10-28T22:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: MCU chc08, C99, MISRA-2012 compliance?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MCU-chc08-C99-MISRA-2012-compliance/m-p/243261#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/message/359327#359327" title="https://community.freescale.com/message/359327#359327"&gt;https://community.freescale.com/message/359327#359327&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Oct 2013 02:30:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/MCU-chc08-C99-MISRA-2012-compliance/m-p/243261#M141</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2013-10-30T02:30:19Z</dc:date>
    </item>
  </channel>
</rss>

