diff options
author | Hossein <hossein@libreoffice.org> | 2022-04-24 12:04:33 +0200 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2022-05-05 17:26:12 +0200 |
commit | 7fe756570fb4ab30f540d644fd5125a67c2d9ea9 (patch) | |
tree | 1bf17c237b6faec90764448824a7cd4e447c76ad /starmath | |
parent | 759792e40aceb17a621c37ed725d1e998acbd30d (diff) |
Warn if Visual Studio 2019 version is < 16.10
During the compilation with Visual Studio 2019 v16.5, the dragonbox
was failing the build, but it was OK when ugprading to the latest
version, 16.11.
It should be noted that according to the list of predfined macros in
Visual Studio, v16.10 and v16.11 use the same value for _MSC_VER,
which is 1929. Thus, the distinction between these 2 versions can not
be distinguished.
Predefined macros
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros
For not having the Visual Studio version > 16.10, a warning is
shown, and if the Visual Studio version is < 16.5, just like before,
an error is generated.
Change-Id: I6661ee5121b03ca43e1f7503b74191abcc8d6b40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132907
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'starmath')
0 files changed, 0 insertions, 0 deletions