From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] another compiler bug (another try to send this coherently) From: forsyth@vitanuova.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-wjlwzkpxmxbhzqjzqsvbnhgfcl" Message-Id: <20010717154917.E7329199DC@mail.cse.psu.edu> Date: Tue, 17 Jul 2001 16:51:49 +0100 Topicbox-Message-UUID: d01a5a16-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-wjlwzkpxmxbhzqjzqsvbnhgfcl Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit i thought that was one of the areas where the rules had changed with ANSI C and assumed ken thompson had implemented the rules he knew! --upas-wjlwzkpxmxbhzqjzqsvbnhgfcl Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <9fans-admin@cse.psu.edu> Received: from punt-1.mail.demon.net by mailstore for forsyth@vitanuova.com id 995383375:10:16564:5; Tue, 17 Jul 2001 15:22:55 GMT Received: from psuvax1.cse.psu.edu ([130.203.4.6]) by punt-1.mail.demon.net id aa1111873; 17 Jul 2001 15:22 GMT Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.16.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id D856019A3E; Tue, 17 Jul 2001 11:22:10 -0400 (EDT) Received: from mercury.bath.ac.uk (mercury.bath.ac.uk [138.38.32.81]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 6F32D199EB for <9fans@cse.psu.edu>; Tue, 17 Jul 2001 11:21:49 -0400 (EDT) Received: from news by mercury.bath.ac.uk with local (Exim 3.12 #1) id 15MWb3-0003eR-00 for 9fans@cse.psu.edu; Tue, 17 Jul 2001 16:17:13 +0100 Received: from GATEWAY by bath.ac.uk with netnews for 9fans@cse.psu.edu (9fans@cse.psu.edu) To: 9fans@cse.psu.edu Message-ID: <3B544A97.5F5EA6E1@null.net> Organization: U.S. Army Research Laboratory Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <020901c10e28$6fbafa50$3cf7c6d4@SOMA>, <200107161921.f6GJL7c10659@ducky.net> Subject: Re: [9fans] another compiler bug (another try to send this coherently) Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.5 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 17 Jul 2001 15:16:38 GMT Mike Haertel wrote: > The unsigned char is _supposed_ to be promoted to signed int. That is true, and I'm surprised that the compiler would get it wrong. One wonders where else the integer promotions aren't done right. --upas-wjlwzkpxmxbhzqjzqsvbnhgfcl--