# Winline

Warns when a function that is declared as inline is not inlined.

## Syntax

Linux: | -Winline

macOS: | -Winline

Windows: | None

## Arguments

None

## Default

OFF | No warning is produced when a function that is declared as inline is not inlined.

## Description

This option warns when a function that is declared as inline is not inlined.

To see diagnostic messages, including a message about why a particular function was not inlined, you should generate an optimization report by specifying option -qopt-report=5.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Compiler Diagnostic Options

## See Also

qopt-report, Qopt-report compiler option