aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-07-31 21:46:19 +0200
committerSimon Warta <[email protected]>2017-07-31 21:48:03 +0200
commitacf8842d9639b7065cc2510968263ded24e0e70c (patch)
treeb9bab378f67126456a05d7ef5d134092d3c87ec3 /src/lib
parentc89d1e9679159753eb983e67699ec3858ca758d6 (diff)
Use native compiler versioning of MSVC
While using marketing names like 2013, 2015 etc. is more convenient at first sight, it requires keeping a table about all supported compiler versions, as there is no formular to calculate between the representations. Keeping a list of compilers leads to the following issue: if one version of Botan is released in 2017, requiring MSVS 2015 for one module, this source can be compiled using MSVS 2015 and 2017 but not a future version like 2019. Also preview/development versions of MSVC that may use an intermediate version number cannot be handled with the marketing name table because they may be unknown to the general public.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/hash/sha1/sha1_x86/info.txt2
-rw-r--r--src/lib/hash/sha2_32/sha2_32_x86/info.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hash/sha1/sha1_x86/info.txt b/src/lib/hash/sha1/sha1_x86/info.txt
index fa329ae77..9cddd40a2 100644
--- a/src/lib/hash/sha1/sha1_x86/info.txt
+++ b/src/lib/hash/sha1/sha1_x86/info.txt
@@ -7,5 +7,5 @@ need_isa sha,ssse3,sse4.1
<cc>
clang:3.9
gcc:5.0
-msvc:2015
+msvc:19.0 # MSVS 2015
</cc>
diff --git a/src/lib/hash/sha2_32/sha2_32_x86/info.txt b/src/lib/hash/sha2_32/sha2_32_x86/info.txt
index c0b159ab2..bf34e73a3 100644
--- a/src/lib/hash/sha2_32/sha2_32_x86/info.txt
+++ b/src/lib/hash/sha2_32/sha2_32_x86/info.txt
@@ -7,5 +7,5 @@ need_isa sha,sse4.1
<cc>
gcc:5.0
clang:3.9
-msvc:2015
+msvc:19.0 # MSVS 2015
</cc>