Recognize MSVC 14 a.k.a. Visual Studio 2015 compiler.

Interpret internal compiler version value 1900 as VC14. Notice that this
required adjusting the computation of the internal version from the
user-visible one because VC13 was skipped (hopefully no black cats crossed
paths with the manager responsible for this decision).

See #16854.

(this is a backport of f350bab from master)
This commit is contained in:
Vadim Zeitlin
2015-05-08 02:20:00 +02:00
committed by Dimitri Schoolwerth
parent c06c8edb5a
commit 1e2af26e47
2 changed files with 16 additions and 1 deletions

View File

@@ -63,6 +63,8 @@
#define wxCOMPILER_PREFIX vc110
#elif _MSC_VER == 1800
#define wxCOMPILER_PREFIX vc120
#elif _MSC_VER == 1900
#define wxCOMPILER_PREFIX vc140
#else
#error "Unknown MSVC compiler version, please report to wx-dev."
#endif