X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=include%2FMUtils%2FVersion.h;h=b29b44c664cddb77dd52dcc5fac4bbcd78e81aa8;hb=6449fbd31162a32ddfa9f675e34b6613d0b5dbee;hp=62e497c11e9e443bfbbd0bead0f5f0c4542c67d5;hpb=987685f080e43b1847167132e098164b71fd5ae7;p=mutilities%2FMUtilities.git diff --git a/include/MUtils/Version.h b/include/MUtils/Version.h index 62e497c..b29b44c 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,58 @@ namespace MUtils #error Compiler is not supported! #endif #elif defined(_MSC_VER) - #if (_MSC_VER == 1911) - #if((_MSC_FULL_VER == 191125508) || (_MSC_FULL_VER == 191125506)) + #if (_MSC_VER == 1922) + #if((_MSC_FULL_VER >= 192227905) && (_MSC_FULL_VER <= 192227905)) + "MSVC 2019.2"; + #else + #error Compiler version is not supported yet! + #endif + #elif (_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! + #endif + #elif (_MSC_VER == 1911) + #if((_MSC_FULL_VER >= 191125542) && (_MSC_FULL_VER <= 191125547)) + "MSVC 2017.4"; + #elif((_MSC_FULL_VER >= 191125506) && (_MSC_FULL_VER <= 191125508)) "MSVC 2017.3"; #else #error Compiler version is not supported yet! @@ -125,12 +175,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