cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fix warnings with VC10 (2010)

From: Jamie Lokier <jamie_at_shareable.org>
Date: Mon, 17 May 2010 14:52:54 +0100

Yang Tse wrote:
> 2010/5/15, Pierre Joye wrote:
>
> > Please find a patch as attachment to fix some new warnings introduced
> > but VC10 new header/definition. There are still warnings, mainly due
> > to deprecated flags, I will try to send a patch to merge my changes to
> > the makefiles to support all VC6, VC9 or 10.
> >
> > curl_git_fix_vc10_warnings.txt
>
> -1 to this patch. It will silence compilation warnings but will break
> library internals on VS2010, rendering licurl useless when built with
> VS2010.

I was thinking something similar.
Does libcurl actually work after this patch on VS2010?

The errors EINPROGRESS and WSAEINPROGRESS (etc.) have different values
- at least with older Microsoft tools. So any code that was depending
on using the E* values in libcurl to compare against Windows sockets error
values will no longer work.

Or have Microsoft decided to merge the values and make them the same
this time?

-- Jamie

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-17