Please consider that this intrusive sentence could instead be proclaiming that you help sponsor this research.

Home > Programming > Tools > Visual C++ > Compiler > Options

CL /Za

Syntax

The option is /Za only.

Relations

The /Za option

This option passes to both the front-end and back-end compilers (C1, C1XX and C2).

Behaviour

The /Za option disables numerous variations that Microsoft makes to the language and is pleased to refer to as the Microsoft language extensions. Put another way, the option directs the compiler to conform to Microsoft’s notion of the standard language. In this sense, /Za is just the opposite of /Ze (which is the option under which these notes describe the language extensions).

The /Za option also enables /Op, unless explicitly directed not to (by /Op-).

It must be observed that the /Za option is essentially useless in practice for Windows Programming. Key headers in the Platform SDK simply assume the use of Microsoft’s extensions, both of the admittedly useful (such as anonymous nested classes) and of some that are no more than lazy props for old code (as with keywords recognised with one leading underscore).

This page was created on 27th October 2005. The last significant modification was on 15th August 2006.

Copyright © 2005-2006. Geoff Chappell. All rights reserved.

Please consider that this intrusive sentence could instead be proclaiming that you help sponsor this research.

Home > Programming > Tools > Visual C++ > Compiler > Options

[Home][Programming Samples][Application Notes][Security Notes][Editorial][Consultation][Contacts]