Specifies an identifier for an assertion.
None
IA-32 architecture, Intel® 64 architecture, IA-64 architecture
Linux and Mac OS: | -Aname [(value)] |
Windows: | /QAname [(value)] |
name | Is the identifier for the assertion. | |
value | Is an optional value for the assertion. If a value is specified, it must be within quotes, including the parentheses delimiting it. |
OFF | Assertions have no identifiers or symbol names. |
This option specifies an identifier (symbol name) for an assertion. It is equivalent to an #assert preprocessing directive.
Note that this option is not the positive form of the C++ /QA- option.
None
To make an assertion for the identifier fruit with the associated values orange and banana use the following command:
icl /QA"fruit(orange,banana)" prog1.cpp