diff options
author | James Johnston <johnstonj.public@codenest.com> | 2015-12-03 21:24:56 (GMT) |
---|---|---|
committer | James Johnston <johnstonj.public@codenest.com> | 2015-12-03 21:37:08 (GMT) |
commit | 7a3277276e69c92d0f69674cdc27bae11bcbc14f (patch) | |
tree | f8cb306e1f1ebb25652a2257994e3b4835691a22 /Modules/Compiler/Compaq-C-DetermineCompiler.cmake | |
parent | 25211d756fad353e96d29e289d40d780a5341c92 (diff) | |
download | CMake-7a3277276e69c92d0f69674cdc27bae11bcbc14f.zip CMake-7a3277276e69c92d0f69674cdc27bae11bcbc14f.tar.gz CMake-7a3277276e69c92d0f69674cdc27bae11bcbc14f.tar.bz2 |
Embarcadero: Fix erroneous interpretation of __CODEGEARC_VERSION__.
As per the following link:
http://docwiki.embarcadero.com/RADStudio/Seattle/en/Example_of_CODEGEARC_VERSION_Macro
The major/minor versions must be decoded as a hex string, while the patch
version must be decoded as a normal decimal string.
As an example, C++ Builder XE 8.1's bcc32.exe sets this macro to 0x070189C9.
The file version of bcc32.exe is 7.1.5570.35273. Therefore, the correct
interpretation to COMPILER_VERSION would be 7.1.35273.
Diffstat (limited to 'Modules/Compiler/Compaq-C-DetermineCompiler.cmake')
0 files changed, 0 insertions, 0 deletions