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, Intel® 64, IA-64 architectures

Syntax

Linux and Mac OS X:

-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