Re: [tcpdump-workers] HP-UX 11.11 - print-dccp.c compile fails

2005-11-07 Thread Guy Harris
On Nov 7, 2005, at 1:23 PM, Rick Jones wrote: It seems the compiler I have didn't like the + sizeof(*dh) in the declaration. Legitimately so. "void" objects have no size, so "(void *)dh" points to an "object of unknown size", so advancing the pointer by "sizeof (*dh)" objects is impossib

[tcpdump-workers] HP-UX 11.11 - print-dccp.c compile fails

2005-11-07 Thread Rick Jones
cc -O -DHAVE_CONFIG_H -I./../libpcap-2005.10.09 -I/usr/local/include -I/usr//include -I./missing -D_U_="" -I. -I./../libpcap-2005.10.09 -I/usr/local/include -I/usr//include -I./missing -c ./print-dccp.c cc: "print-dccp.c", line 149: error 1539: Cannot do arithmetic with pointers to ob