cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fix compile warnings on Fedora 11 x86_64

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 Apr 2010 21:05:45 +0200 (CEST)

On Mon, 29 Mar 2010, Ben Greear wrote:

> Please excuse it not being a proper git patch, as these changes are are
> tangled up in the merge. If you *do* need a proper git patch, let me know
> and I'll make it work.
>
> Also, in the attached patch, I basically chose ssize_t v/s size_t just to
> make warnings go away. It could be that one is more correct that the other
> and that I chose the wrong one :)

It worked fine to me, and the new variable sizes looked fine too. I applied
it! Thanks!

> In order to make the build-bots more useful..maybe you should default the
> --enable-warnings to true?

Everyone who run autobuilds can select exactly what set of options to use, and
yes --enable-warnings is a very useful such option that we want many
autobuilders to use!

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