Ethereal-dev: [Ethereal-dev] Error when compiling with MSVC addr_resolv.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Wed, 17 Nov 2004 20:30:01 +0100

Hi,

I get the following errror when trying to compile with MSVC:

addr_resolv.c

addr_resolv.c(512) : error C2065: 'tp' : undeclared identifier

addr_resolv.c(512) : error C2223: left of '->name' must point to struct/union

addr_resolv.c(512) : error C2198: 'ip6_to_str_buf' : too few actual parameters

addr_resolv.c(513) : error C2223: left of '->is_dummy_entry' must point to struc

t/union

addr_resolv.c(515) : error C2223: left of '->name' must point to struct/union

addr_resolv.c(515) : warning C4033: 'host_name_lookup6' must return a value

addr_resolv.c(1584) : error C2146: syntax error : missing ';' before identifier

'strcat'

addr_resolv.c(1584) : error C2065: 'hostpath' : undeclared identifier

addr_resolv.c(1584) : warning C4047: 'function' : 'char *' differs in levels of

indirection from 'int '

addr_resolv.c(1584) : warning C4024: 'strcat' : different types for formal and a

ctual parameter 1

 Best regards

Anders