Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 12:34:53 -0700
From:      Bill Fenner <fenner@research.att.com>
To:        tlambert2@mindspring.com
Cc:        knu@iDaemons.org, audit@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: moused(8): char signed-ness problem with gcc 3.1
Message-ID:  <200205151934.MAA20988@windsor.research.att.com>
References:   <86sn4t8fzp.wl@archon.local.idaemons.org> <3CE2B06B.BF034A4E@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205151934.MAA20988>