dumpversion

Returns the version number of the compiler.

IDE Equivalent

None

Architectures

IA-32, IntelŪ EM64T, IntelŪ ItaniumŪ architecture

Syntax

Linux: -dumpversion
Mac OS:    None
Windows:    None

Arguments

None

Default

OFF      The compiler does not return the version number of the compiler.

Description

This option returns the version number of the compiler. It does not compile your source files.

Example

If you use the Intel® C++ Compiler 9.1 with this option:

icc -dumpversion

the compiler returns "9.1".

Alternate Options

None