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 commit is contained in:
Vadim Zeitlin
2015-05-08 02:20:00 +02:00
parent 0a41db1140
commit f350babf36
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