[comp.sources.wanted] problem: c identifiers longer than 8 characters

marty@osu-cgrg.UUCP (03/02/87)

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?

Thanks.
Marty Wagner
 

kaufman@Shasta.STANFORD.EDU (Marc Kaufman) (03/06/87)

(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)