Wreorder

Issue a warning when the order of member initializers does not match the order in which they must be executed.

IDE Equivalent

None

Architectures

IA-32 architecture, Intel® 64 architecture, IA-64 architecture

Syntax

Linux and Mac OS: -Wreorder
Windows:    None

Arguments

None

Default

OFF      The compiler does not issue a warning.

Description

Issue a warning when the order of member initializers does not match the order in which they must be executed. This option is supported with C++ only.

Alternate Options

None