8char function names from hell

Dave Brower daveb at llama.rtech.UUCP
Tue Feb 9 05:32:28 AEST 1988


In article <380 at flatline.UUCP> erict at flatline.UUCP (eric townsend) writes:
>
>Just tried to compile some stuff I got from a friend.  Low and
>behold, the unix-pc C compiler doesn't go past 8 characters in
>either a function or a varible name!
>
>What's da dang deal?  For some strange reason I thought that maybe,
>just maybe, C compilers within USG and/or sysV would be a little
>more compatible than this.
>
>An 8 character limit?  What is this, a step back towards 2 character
>varible names like in BASIC?

You are running the 2.0 or 3.0 compiler.  It supports long names in 3.5
and 3.51.  Basically, you are SOL unless you want to go through
contortions redefining shorter names.

-dB
"People will do anything for a potato."
{amdahl, cpsc6a, mtxinu, ptsfa, sun, hoptoad}!rtech!daveb daveb at rtech.uucp



More information about the Comp.lang.c mailing list