cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1422 MSVC warnings in 7.38.0 SSPI Unicode build

From: Steve Holme <captain-caveman_at_users.sf.net>
Date: Wed, 10 Sep 2014 13:26:12 +0000

- **status**: open --> open-confirmed
- **assigned_to**: Steve Holme
- **Comment**:

Cheers Marcel,

It's a known issue that I was hoping to resolve before the release but unfortunately I ran out of time. You will note there is a TODO on line 489 so I don't forget about it.

All being well I'll take a look at this over the next couple of days.

Thanks again for the patch and the gentle reminder ;-)

Kind Regards

Steve

---
** [bugs:#1422] MSVC warnings in 7.38.0 SSPI Unicode build**
**Status:** open-confirmed
**Created:** Wed Sep 10, 2014 12:50 PM UTC by Marcel Raad
**Last Updated:** Wed Sep 10, 2014 12:50 PM UTC
**Owner:** Steve Holme
When Unicode is enabled, Microsoft Visual C++ 2013 complains about 'wchar_t *' and 'char *' being incompatible in Curl_sasl_build_spn and Curl_sasl_create_gssapi_security_message:
curl_sasl_sspi.c(88): warning C4133: '!=' : incompatible types - from 'TCHAR *' to 'char *'
curl_sasl_sspi.c(581): warning C4133: 'function' : incompatible types - from 'SEC_WCHAR *' to 'const char *'
curl_sasl_sspi.c(596): warning C4133: 'function' : incompatible types - from 'SEC_WCHAR *' to 'const char *'
The attached patch fixes those warnings. Perhaps someone could verify that the Curl_sasl_create_gssapi_security_message part does now what it should do when Unicode is enabled - this function is currently only used in the e-mail protocol functions and I build libcurl with HTTP_ONLY.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-09-10

These mail archives are generated by hypermail.