Skip to main content

IAR Embedded Workbench for RH850 3.20.x

MISRAC++2008-16-2-5

In this section:
Synopsis

(Advisory) The backslash character should not occur in a header file name.

Enabled by default

No

Severity/Certainty

Low/Low

lowlow.png
Full description

There are illegal characters in header file names.

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:

#include "fi\\le.h"	/* Non-compliant */

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

#include "header.h"
void example(void) {}