Skip to main content

IAR Embedded Workbench for RX 5.20

MISRAC++2008-2-10-1

In this section:
Synopsis

(Required) Different identifiers shall be typographically unambiguous.

Enabled by default

Yes

Severity/Certainty

Low/Low

lowlow.png
Full description

Two identifiers have names that can be confused with each other.

Coding standards

This check does not correspond to any coding standard rules.

Code examples

The following code example fails the check and will give a warning:

void example(void)
{
  char  idB_S;
  char  idB_5;
}

The following code example passes the check and will not give a warning about this issue:

void example(void)
{
  char  idB_5rm;
  char  idB_irh;
}