Skip to main content

IAR Embedded Workbench for RL78 5.20

--language

In this section:
Syntax
--language=ext[,ext,...] 
Parameters

ext

The language extension to enable. Choose between:

extended, IAR language extensions. This is identical to specifying the option -e.

gnu, GNU language extensions.

Description

In the command line version of the compiler, language extensions are disabled by default. Use this option to enable one or several language extensions. If you use language extensions such as extended keywords and anonymous structs and unions in your source code, you must use this option or -e to enable them.

Note

The ‑‑language option and the ‑‑strict option cannot be used at the same time.

See also

Enabling language extensions.

Caution

Project>Options>C/C++ Compiler>Language 1>Language conformance>Standard with extensions

By default, this option is selected in the IDE.