diff --git a/Solutions/build.MIP.props b/Solutions/build.MIP.props index 4010ccf5..76b147b3 100644 --- a/Solutions/build.MIP.props +++ b/Solutions/build.MIP.props @@ -8,4 +8,5 @@ mip_ClientTelemetry + diff --git a/Solutions/build.spectr.props b/Solutions/build.spectr.props new file mode 100644 index 00000000..12180b68 --- /dev/null +++ b/Solutions/build.spectr.props @@ -0,0 +1,6 @@ + + + + Spectre + + diff --git a/Solutions/win32-dll/win32-dll.vcxproj b/Solutions/win32-dll/win32-dll.vcxproj index fafad886..f18fff96 100644 --- a/Solutions/win32-dll/win32-dll.vcxproj +++ b/Solutions/win32-dll/win32-dll.vcxproj @@ -56,7 +56,6 @@ v141 Unicode false - Spectre DynamicLibrary @@ -64,7 +63,6 @@ v141 false Unicode - Spectre DynamicLibrary @@ -72,7 +70,6 @@ v141 Unicode false - Spectre DynamicLibrary @@ -80,7 +77,6 @@ v141 Unicode false - Spectre DynamicLibrary @@ -89,7 +85,6 @@ false Unicode win-x64_vs2015-crtdynamic-release - Spectre DynamicLibrary @@ -98,7 +93,6 @@ false Unicode win-x64_vs2015-crtdynamic-release - Spectre diff --git a/lib/include/public/LogManagerBase.hpp b/lib/include/public/LogManagerBase.hpp index 48362cbc..710d8cd2 100644 --- a/lib/include/public/LogManagerBase.hpp +++ b/lib/include/public/LogManagerBase.hpp @@ -6,7 +6,7 @@ #ifdef _MSC_VER #pragma warning(push) -#pragma warning(disable:4459 4100 4121 4244 4068) +#pragma warning(disable:4459 4100 4121 4068) #endif #pragma clang diagnostic push diff --git a/lib/utils/Utils.hpp b/lib/utils/Utils.hpp index 745f6053..24db810d 100644 --- a/lib/utils/Utils.hpp +++ b/lib/utils/Utils.hpp @@ -79,26 +79,23 @@ namespace ARIASDK_NS_BEGIN { std::string to_string(const GUID_t& uuid); -#ifdef _MSC_VER -#pragma warning (push) -#pragma warning (disable:4244) -#endif //_MSC_VER inline std::string toLower(const std::string& str) { std::string result = str; - std::transform(str.begin(), str.end(), result.begin(), ::tolower); + std::transform(str.begin(), str.end(), result.begin(), + [](unsigned char c){ return (char)::tolower(c); } + ); return result; } inline std::string toUpper(const std::string& str) { std::string result = str; - std::transform(str.begin(), str.end(), result.begin(), ::toupper); + std::transform(str.begin(), str.end(), result.begin(), + [](unsigned char c){ return (char)::toupper(c); } + ); return result; } -#ifdef _MSC_VER -#pragma warning (pop) -#endif //_MSC_VER inline bool equalsIgnoreCase(const std::string& str1, const std::string& str2) { diff --git a/sqlite/sqlite.vcxproj b/sqlite/sqlite.vcxproj index 8128f88c..775e71c7 100644 --- a/sqlite/sqlite.vcxproj +++ b/sqlite/sqlite.vcxproj @@ -74,14 +74,12 @@ true v141 Unicode - Spectre StaticLibrary true v141 Unicode - Spectre StaticLibrary @@ -89,7 +87,6 @@ v141 true Unicode - Spectre StaticLibrary @@ -97,35 +94,30 @@ v141 true Unicode - Spectre StaticLibrary true v141 Unicode - Spectre StaticLibrary true v141 Unicode - Spectre StaticLibrary true v141 Unicode - Spectre StaticLibrary true v141 Unicode - Spectre StaticLibrary @@ -133,7 +125,6 @@ v141 true Unicode - Spectre StaticLibrary @@ -141,7 +132,6 @@ v141 true Unicode - Spectre StaticLibrary @@ -149,7 +139,6 @@ v141 true Unicode - Spectre StaticLibrary @@ -157,21 +146,18 @@ v141 true Unicode - Spectre StaticLibrary true v140 Unicode - Spectre StaticLibrary true v140 Unicode - Spectre StaticLibrary @@ -179,7 +165,6 @@ v140 true Unicode - Spectre StaticLibrary @@ -187,7 +172,6 @@ v140 true Unicode - Spectre diff --git a/zlib/contrib/vstudio/vc14/zlibvc.vcxproj b/zlib/contrib/vstudio/vc14/zlibvc.vcxproj index 3b859450..5ff55579 100644 --- a/zlib/contrib/vstudio/vc14/zlibvc.vcxproj +++ b/zlib/contrib/vstudio/vc14/zlibvc.vcxproj @@ -79,7 +79,6 @@ false Unicode v141 - Spectre StaticLibrary @@ -87,7 +86,6 @@ false Unicode v141 - Spectre true @@ -96,7 +94,6 @@ false Unicode v141 - Spectre true @@ -105,7 +102,6 @@ false Unicode v141 - Spectre true @@ -114,7 +110,6 @@ false Unicode v141 - Spectre true @@ -123,21 +118,18 @@ false Unicode v141 - Spectre StaticLibrary false Unicode v141 - Spectre StaticLibrary false Unicode v141 - Spectre true @@ -145,7 +137,6 @@ false Unicode v141 - Spectre true @@ -153,7 +144,6 @@ false Unicode v141 - Spectre true @@ -161,7 +151,6 @@ false Unicode v141 - Spectre true @@ -169,7 +158,6 @@ false Unicode v141 - Spectre StaticLibrary @@ -177,7 +165,6 @@ false Unicode v141 - Spectre StaticLibrary @@ -185,21 +172,18 @@ false Unicode v141 - Spectre StaticLibrary false Unicode v141 - Spectre StaticLibrary false Unicode v141 - Spectre