# Wreorder

Tells the compiler to issue a warning when the order of member initializers does not match the order in which they must be executed.

## Syntax

Linux: | -Wreorder

macOS: | -Wreorder

Windows: | None

## Arguments

None

## Default

OFF | The compiler does not issue a warning.

## Description

This option tells the compiler to issue a warning when the order of member initializers does not match the order in which they must be executed. This option is supported for C++ only.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Compiler Diagnostic Options