ISO Standard Predefined Macros

The ISO/ANSI standard for the C language requires that certain predefined macros be supplied with conforming compilers.

The compiler includes predefined macros in addition to those required by the standard. The default predefined macros differ among Windows*, Linux* operating systems. Differences also exist on Linux* as a result of the -std compiler option.

The following table lists the macros that the Intel® C++ Compiler supplies in accordance with this standard:




The date of compilation as an 11-character string literal in the form mm dd yyyy. If the day is less than 10 characters, a space is added before the day value.


A string literal representing the name of the file being compiled.


The current line number as a decimal constant.


Defined and value is 1 only when compiling a C translation unit with /Qstd=c99.


Defined and value is 199901L only when compiling a C translation unit with /Qstd=c99.


The time of compilation as a string literal in the form hh:mm:ss.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.