Skip to main content

IAR Embedded Workbench for RX 5.20

MISRAC2012-Rule-1.4

In this section:
Synopsis

(Required) Emergent language features shall not be used.

Enabled by default

Yes

Severity/Certainty

Low/Medium

lowmedium.png
Full description

Uses of _Noreturn, _Atomic, _Thread_local, _Alignas, _Alignof or __STDC_WANT_LIB_EXT1__ were found.

Coding standards
MISRA C:2012 Rule-1.4

(Required) Emergent language features shall not be used

Code examples

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

#define __STDC_WANT_LIB_EXT1__ 1

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

#define __STDC_WANT_LIB_EXT1__ 0