Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site ism780c.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!hplabs!sdcrdcf!ism780c!tim From: tim@ism780c.UUCP (Tim Smith) Newsgroups: net.lang.c Subject: A simple non-portable expression that lint passes Message-ID: <1368@ism780c.UUCP> Date: Fri, 4-Apr-86 22:40:33 EST Article-I.D.: ism780c.1368 Posted: Fri Apr 4 22:40:33 1986 Date-Received: Tue, 8-Apr-86 04:47:52 EST Reply-To: tim@ism780c.UUCP (Tim Smith) Organization: Interactive Systems Corp., Santa Monica, CA Lines: 13 If R and L are longs, and I is an int, then the expression L = R + 2 + i; is non-portable. Lint, however, does not complain about this. ( At least, lint on the PC6300+ and on the 3B2. I didn't try any others ). This is annoying... -- Tim Smith sdcrdcf!ism780c!tim || ima!ism780!tim || ihnp4!cithep!tim