Wstrict-aliasing

Determines whether warnings are issued for code that might violate the optimizer's strict aliasing rules.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-Wstrict-aliasing

-Wno-strict-aliasing

Windows:

None

Arguments

None

Default

-Wno-strict-aliasing

No warnings are issued for code that might violate the optimizer's strict aliasing rules.

Description

This option determines whether warnings are issued for code that might violate the optimizer's strict aliasing rules. These warnings will only be issued if you also specify option –ansi-alias or option –fstrict-aliasing.

Alternate Options

None

See Also


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.