cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: static libcurl warnings

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 12 Jan 2012 16:47:57 -0800

On Thu, Jan 12, 2012 at 11:16:54PM +0100, Daniel Stenberg wrote:
> On Thu, 12 Jan 2012, Arthur Murray wrote:
> >Is there anything I should be doing to get rid of the causes of
> >these warnings so the binary is portable? I know they are only
> >warnings, but are non-portable getpwuid and getaddrinfo absolutely
> >necessary?
>
> getpwuid is used by the .netrc parser code and there's no build time
> option to disable that, although you can of course just edit the
> source code to not use it.

You can always statically link against a libc other than glibc--there
are several to choose from these days.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-13