From owner-freebsd-current@FreeBSD.ORG Mon Aug 16 12:57:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 196DF16A4CE for ; Mon, 16 Aug 2004 12:57:39 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 112AF43D45 for ; Mon, 16 Aug 2004 12:57:38 +0000 (GMT) (envelope-from junsu@delphij.net) Received: (qmail 42674 invoked by uid 0); 16 Aug 2004 12:54:54 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 16 Aug 2004 12:54:54 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 5659C11475 for ; Mon, 16 Aug 2004 20:57:36 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02973-03 for ; Mon, 16 Aug 2004 20:57:33 +0800 (CST) Received: from sujunmobile (unknown [211.161.222.65]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by beastie.frontfree.net (Postfix) with ESMTP id 42FD611F1F for ; Mon, 16 Aug 2004 20:57:32 +0800 (CST) Message-ID: <002f01c48390$9cff1ab0$7302a8c0@fareast.corp.microsoft.com> From: "csj" To: Date: Mon, 16 Aug 2004 20:57:37 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="gb2312"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2149 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2149 X-Virus-Scanned: by amavisd-new at frontfree.net X-Mailman-Approved-At: Tue, 17 Aug 2004 11:55:45 +0000 Subject: compile warning in recent import dhcp-client X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 12:57:39 -0000 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