Skip to main content

IAR Embedded Workbench for Arm 9.70.x

‑‑make_all_definitions_weak

In this section:
Syntax
‑‑make_all_definitions_weak
Description

Turns all variable and function definitions in the compilation unit into weak definitions.

Note

Normally, it is better to use extended keywords or pragma directives to turn individual variable and function definitions into weak definitions.

See also

__weak.

Caution

To set this option, use Project>Options>C/C++ Compiler>Extra Options.