Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!decwrl!labrea!Shasta!kaufman From: kaufman@Shasta.STANFORD.EDU (Marc Kaufman) Newsgroups: comp.sources.wanted Subject: Re: problem: c identifiers longer than 8 characters Message-ID: <1379@Shasta.STANFORD.EDU> Date: Thu, 5-Mar-87 19:47:03 EST Article-I.D.: Shasta.1379 Posted: Thu Mar 5 19:47:03 1987 Date-Received: Sun, 8-Mar-87 00:03:24 EST References: <792@osu-cgrg.UUCP> Reply-To: kaufman@Shasta.UUCP (Marc Kaufman) Organization: Stanford University Lines: 19 Keywords: c compiler, c scripts, c programs (mail reply failed to sender, hence this followup): In article <792@osu-cgrg.UUCP> you write: >HELP: >We are going to a new C compiler which only allows 8 unique characters for >each identifier. Most of our code does not follow this (even though it makes >for better portability). I am sure someone else has come across this >problem and has ALREADY written the code which will check source code to >find variables names that clash in the first 8 characters. If so, could >you send it here to me? > As one who has to live with such a C compiler (Regulus C) on a daily basis, let me strongly suggest that you NOT go with the new compiler. It is a hassle beyond belief when trying to import programs from the net. There is no good reason for this restriction. PCC (the portable C compiler) lifted the restriction years ago. If a compiler company can't figure out how to use long variable names, just how good do you think their code generation algorithms are? ;-) Marc Kaufman (kaufman@Shasta.stanford.edu)