From e95d34aa245abb5c7dba23a2da0d17c90e90f706 Mon Sep 17 00:00:00 2001 From: newhook Date: Wed, 22 Apr 2015 16:17:04 -0230 Subject: ICE-6455 - remove slice2py and slice2rb C++ exe Fix slice2rb.rb and slice2py.py scripts for Windows. Fix build issue with IceSSL and MinGW. --- cpp/config/Make.rules | 8 -------- cpp/config/Make.rules.MINGW | 8 ++++++++ cpp/src/IceSSL/Util.cpp | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'cpp') diff --git a/cpp/config/Make.rules b/cpp/config/Make.rules index cdd3315faf8..01dfdeaf94c 100644 --- a/cpp/config/Make.rules +++ b/cpp/config/Make.rules @@ -133,14 +133,6 @@ USE_READLINE ?= no # #GENPIC ?= yes -# -# If building with MinGW and third party libraries are not installed -# in the default location and THIRDPARTY_HOME is not set in your -# environment variables, change the following setting to reflect the -# installation location. -# -#THIRDPARTY_HOME ?= C:\Program Files (x86)\ZeroC\Ice-$(VERSION)-ThirdParty - # # Default Mutex protocol: one of PrioNone or PrioInherit. # diff --git a/cpp/config/Make.rules.MINGW b/cpp/config/Make.rules.MINGW index 0fe6af9f45c..02b11feecd6 100644 --- a/cpp/config/Make.rules.MINGW +++ b/cpp/config/Make.rules.MINGW @@ -7,6 +7,14 @@ # # ********************************************************************** +# +# If building with MinGW and third party libraries are not installed +# in the default location and THIRDPARTY_HOME is not set in your +# environment variables, change the following setting to reflect the +# installation location. +# +THIRDPARTY_HOME ?= C:\Program Files (x86)\ZeroC\Ice-$(VERSION)-ThirdParty + # # This file is included by Make.rules when building with MinGW. # diff --git a/cpp/src/IceSSL/Util.cpp b/cpp/src/IceSSL/Util.cpp index 06ee07cfece..2e3287c1c35 100644 --- a/cpp/src/IceSSL/Util.cpp +++ b/cpp/src/IceSSL/Util.cpp @@ -1116,7 +1116,7 @@ IceSSL::findCertificates(const string& prop, const string& storeSpec, const stri CERT_OID_NAME_STR | CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG, CERT_OID_NAME_STR | CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG | CERT_NAME_STR_REVERSE_FLAG }; - for(int i = 0; i < sizeof(flags) / sizeof(DWORD); ++i) + for(size_t i = 0; i < sizeof(flags) / sizeof(DWORD); ++i) { DWORD length = 0; if(!CertStrToNameW(X509_ASN_ENCODING, argW.c_str(), flags[i], 0, 0, &length, 0)) -- cgit v1.2.3