Skip to main content

IAR Embedded Workbench for RH850 3.20.x

MISRAC++2008-18-0-1 (C++ only)

In this section:
Synopsis

(Required) The C library shall not be used.

Enabled by default

Yes

Severity/Certainty

Low/Low

lowlow.png
Full description

C library includes were found.

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 <stdio.h>
void example(void) {}

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

#include <cstdio>
void example(void) {}