Subject: without windns.h,warnings in wince

without windns.h,warnings in wince

From: julien thai <julienresiprocate_at_gmail.com>
Date: 2005-04-26

Dear all,
 Like in previous email, when i removed the line #include <windns.h>, i
met the warnings below.
It looks like i have to looking for a strdup in wince to replace.
What do you think?
Looking forward to hear from you.
 Julien
 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 '

_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Tue Apr 26 12:14:52 2005