X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=include%2FMUtils%2FVersion.h;h=6ab6ca3638deb972d075103fec61d666fd5c8e4f;hb=7af7321266e40aa313a9b9ca0fbfec64345f4dbc;hp=222e97eea6f364509dde74f8ee86acb74b40170c;hpb=e5c3d13d86fbe660cc709b6aa4344123cfa8016a;p=mutilities%2FMUtilities.git diff --git a/include/MUtils/Version.h b/include/MUtils/Version.h index 222e97e..6ab6ca3 100644 --- a/include/MUtils/Version.h +++ b/include/MUtils/Version.h @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // MuldeR's Utilities for Qt -// Copyright (C) 2004-2017 LoRd_MuldeR +// Copyright (C) 2004-2019 LoRd_MuldeR // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -67,8 +67,44 @@ namespace MUtils #error Compiler is not supported! #endif #elif defined(_MSC_VER) - #if (_MSC_VER == 1912) - #if((_MSC_FULL_VER >= 191225830) && (_MSC_FULL_VER <= 191225831)) + #if (_MSC_VER == 1921) + #if((_MSC_FULL_VER >= 192127702) && (_MSC_FULL_VER <= 192127702)) + "MSVC 2019.1"; + #else + #error Compiler version is not supported yet! + #endif + #elif (_MSC_VER == 1920) + #if((_MSC_FULL_VER >= 192027508) && (_MSC_FULL_VER <= 192027508)) + "MSVC 2019.0"; + #else + #error Compiler version is not supported yet! + #endif + #elif (_MSC_VER == 1916) + #if((_MSC_FULL_VER >= 191627024) && (_MSC_FULL_VER <= 191627032)) + "MSVC 2017.9"; + #else + #error Compiler version is not supported yet! + #endif + #elif (_MSC_VER == 1915) + #if((_MSC_FULL_VER >= 191526726) && (_MSC_FULL_VER <= 191526732)) + "MSVC 2017.8"; + #else + #error Compiler version is not supported yet! + #endif + #elif (_MSC_VER == 1914) + #if((_MSC_FULL_VER >= 191426430) && (_MSC_FULL_VER <= 191426433)) + "MSVC 2017.7"; + #else + #error Compiler version is not supported yet! + #endif + #elif (_MSC_VER == 1913) + #if((_MSC_FULL_VER >= 191326128) && (_MSC_FULL_VER <= 191326132)) + "MSVC 2017.6"; + #else + #error Compiler version is not supported yet! + #endif + #elif (_MSC_VER == 1912) + #if((_MSC_FULL_VER >= 191225830) && (_MSC_FULL_VER <= 191225835)) "MSVC 2017.5"; #else #error Compiler version is not supported yet! @@ -133,12 +169,6 @@ namespace MUtils #else "MSVC 2010"; #endif - #elif (_MSC_VER == 1500) - #if (_MSC_FULL_VER >= 150030729) - "MSVC 2008-SP1"; - #else - "MSVC 2008"; - #endif #else #error Compiler is not supported! #endif