Developer Guide and Reference

Contents

A, QA

Specifies an identifier for an assertion.

Syntax

Linux and macOS:
-A
name[(value)]
Windows:
/QA
name[(value)]
Arguments
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.
Default
OFF
Assertions have no identifiers or symbol names.
Description
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.
On Linux* systems, because GCC has deprecated assertions, this option has no effect.
Alternate Options
None
To make an assertion for the identifier fruit with the associated values orange and banana use the following command.
On Windows* systems:
icl /QA"fruit(orange,banana)" prog1.cpp
On Linux* systems:
icpc -A"fruit(orange,banana)" prog1.cpp
On
macOS*
systems:
icl++ -A"fruit(orange,banana)" prog1.cpp
icpc -A"fruit(orange,banana)" prog1.cpp

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804