12.1 has __INTEL_COMPILER set to 9999. Is this a known bug, or am I doing something stupid? What should the value be?
icl reports: Intel C++ Compiler XE for applications running on IA-32, Version 126.96.36.199 Build 20110811
Yes thiswas a bug and has been fixed in the latest update. The value should be 1210.
Also, a related feature request has also been filed to make the version numbers consistent when using icc -v and icc -V. I'll update you as soon as the release with this feature request is out....