From owner-freebsd-current Wed May 15 12:35:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail-green.research.att.com (H-135-207-30-103.research.att.com [135.207.30.103]) by hub.freebsd.org (Postfix) with ESMTP id 58B8037B41C; Wed, 15 May 2002 12:35:01 -0700 (PDT) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-green.research.att.com (Postfix) with ESMTP id DB8721E152; Wed, 15 May 2002 15:34:56 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id PAA07067; Wed, 15 May 2002 15:34:54 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id MAA20988; Wed, 15 May 2002 12:34:54 -0700 (PDT) Message-Id: <200205151934.MAA20988@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: tlambert2@mindspring.com Subject: Re: moused(8): char signed-ness problem with gcc 3.1 Cc: knu@iDaemons.org, audit@FreeBSD.ORG, current@FreeBSD.ORG References: <86sn4t8fzp.wl@archon.local.idaemons.org> <3CE2B06B.BF034A4E@mindspring.com> Date: Wed, 15 May 2002 12:34:53 -0700 Versions: dmail (solaris) 2.4/makemail 2.9b Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gcc 3.1 simply defaults to unsigned chars. 127 << 1 = 254; 254 / 2 = 127. My machine is too slow to test this expeditiously, but I'm trying adding "#define DEFAULT_SIGNED_CHAR 1" into freebsd-native.h . Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message