Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7953 Discussions

__INTEL_COMPILER_UPDATE changed behviour in icc version 19

Mark_A_3
Beginner
357 Views
I think __INTEL_COMPILER_UPDATE changed behaviour in icc 19.
From https://software.intel.com/en-us/cpp-compiler-developer-guide-and-reference-additional-predefined-macros I expected the __INTEL_COMPILER_UPDATE for my compiler to be 3, but it is 0 instead.
See also https://gitlab.kitware.com/cmake/cmake/issues/19115

$ cat ver.cpp 
__INTEL_COMPILER
__INTEL_COMPILER_UPDATE
__INTEL_COMPILER_BUILD_DATE

$ icpc -v
icpc version 19.0.3.199 (gcc version 6.4.0 compatibility)
 $ icpc -E ver.cpp | tail -4
1900
0
20190206

 

0 Kudos
1 Reply
Viet_H_Intel
Moderator
357 Views

It should have printed 3. Thank for reporting it.

0 Kudos
Reply