Skip to main content

IAR Embedded Workbench for RISC-V 3.40

‑‑char_is_signed

In this section:
Syntax

‑‑char_is_signed

Description

By default, the compiler interprets the plain char type as unsigned. Use this option to make the compiler interpret the plain char type as signed instead. This can be useful when you, for example, want to maintain compatibility with another compiler.

Note

The runtime library is compiled without the ‑‑char_is_signed option and cannot be used with code that is compiled with this option.

Caution

Project>Options>C/C++ Compiler>Language 2>Plain ‘char’ is