Subject: Re: without windns.h,warnings in wince

Re: without windns.h,warnings in wince

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2005-04-26

On Tue, 26 Apr 2005, julien thai wrote:

> D:\PortWinCE\contrib\ares\ares_init.c(240) : warning C4013: 'strdup'
> undefined; assuming extern returning int

Isn't there a strdup() in wince? If so, you should include the header that has
the prototype.

> D:\PortWinCE\contrib\ares\ares_init.c(240) : warning C4047: '=' : 'char *'
> differs in levels of indirection from 'int '

What's this?

> D:\PortWinCE\contrib\ares\ares_init.c(250) : warning C4047: '=' : 'char *'
> differs in levels of indirection from 'int '

And this?

> D:\PortWinCE\contrib\ares\ares_init.c(263) : warning C4013: 'getenv'
> undefined; assuming extern returning int

Is there a getenv() in wince and if so, can you include the header for the
proto?

[snip]

In general, warnings are only warnings and you can fix them or ignore them.
The errors are what you should start focusing on.

-- 
   c-ares -- my preferred DNS asynch resolver library
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Tue Apr 26 12:40:06 2005