Date: Mon, 16 Aug 2004 20:57:37 +0800 From: "csj" <junsu@delphij.net> To: <current@freebsd.org> Subject: compile warning in recent import dhcp-client Message-ID: <002f01c48390$9cff1ab0$7302a8c0@fareast.corp.microsoft.com>
next in thread | raw e-mail | index | archive | help
We didn't define PTRSIZE_64BIT in the 64bit platform. When I compile it in Alpha, I got a warning. In common/icmp.c, around line 174: #ifdef PTRSIZE_64BIT icmp.icmp_id = (((u_int32_t)(u_int64_t)addr) ^ (u_int32_t)(((u_int64_t)addr) >> 32)); #else icmp.icmp_id = (u_int32_t)addr; <=== this line generates the warning. #endif Should we define this constant in the Makefile? Jun Su
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002f01c48390$9cff1ab0$7302a8c0>