[reSIProcate] without windns.h,warings in wince

kenho at bluebottle.com kenho at bluebottle.com
Tue Apr 26 06:00:36 CDT 2005


It seems my working copy is different from yours, I failed to find the lines responsible for the assignment warnings.
Anyhow, it seems you need to include these headers:
#include <string.h> // for strdup()
#include <stdlib.h> // for getenv()

Ken

julien thai wrote:
> Dear All,
>  
> Like in previous email, i remove the line #included <windns.h>,
> i met the warnings like below. It looks like i have to find a other
> strdup in wince to replace.
>  
> ........................
>  
> D:\PortWinCE\contrib\ares\ares_init.c(240) : warning C4013: 'strdup' 
> undefined; assuming extern returning int
> D:\PortWinCE\contrib\ares\ares_init.c(240) : warning C4047: '=' : 'char 
> *' differs in levels of indirection from 'int '
> D:\PortWinCE\contrib\ares\ares_init.c(250) : warning C4047: '=' : 'char 
> *' differs in levels of indirection from 'int '
> D:\PortWinCE\contrib\ares\ares_init.c(263) : warning C4013: 'getenv' 
> undefined; assuming extern returning int
> D:\PortWinCE\contrib\ares\ares_init.c(263) : warning C4047: '=' : 'const 
> char *' differs in levels of indirection from 'int '
> D:\PortWinCE\contrib\ares\ares_init.c(271) : warning C4047: '=' : 'const 
> char *' differs in levels of indirection from 'int '
> D:\PortWinCE\contrib\ares\ares_init.c(484) : warning C4047: '=' : 'char 
> *' differs in levels of indirection from 'int '
> D:\PortWinCE\contrib\ares\ares_init.c(499) : warning C4047: '=' : 'char 
> *' differs in levels of indirection from 'int '
> D:\PortWinCE\contrib\ares\ares_init.c(540) : warning C4047: '=' : 'char 
> *' differs in levels of indirection from 'int '
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at list.sipfoundry.org
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel




More information about the resiprocate-devel mailing list