Skip to main content

IAR Embedded Workbench for RL78 5.20

‑‑max_depth_constexpr_call

In this section:
Syntax
‑‑max_depth_constexpr_call=limit
Parameters

limit

The depth of recursion. The default is 512.

Description

Use this option to specify the maximum depth of recursion for folding a top-level constexpr call (function or constructor).

Warning

Be careful. Increasing the limit increases the risk of stack overflow.

Caution

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