6 char externs and the ANSI standard
David Herron
david at ukma.UUCP
Thu Nov 8 06:21:18 AEST 1984
>
> Having read the mail, I'm changing my vote...I'd like to
> see the standard require long externals than 6 characters.
> The suggestion that compilers check for potential collisions
> isn't bad, but wouldn't it make more sense to let lint do the
> checking? That's where portability problems have traditionally
> been detected. Also, it's lint, rather than the compiler, that
> gets to see all the programs together and can detect externals
> from different files that wouldn't be distinguished. I'd like
> to see two kinds of output: lint should give a "high water
> mark" ("The linker must examine the first XXX characters if
> cases are distinct and the first YYY characters if they are not."),
> and should flag externals (or internals, for that matter) that
> don't differ within some settable number of characters.
> - Jim Van Zandt
>
>
Who actually uses lint? Around here we never got used to using
it because our only machines were two 11/23's and an 11/10 and it
wouldn't fit.
I am actually curious how useful it is. I have written one program
using lint regularly while writing it, and all the things lint found
were somewhat silly. So, I went to my other programs (written over
the last few years) and ran lint on them....same result. Do I just
write good code or what?
-----------------------------------------
David Herron
Phone: (606) 257-4244 (work, phone will usually be answered as "Vax Lab").
(606) 254-7820
Arpa-Net-----\
\ (or cbosgd!hasmed!qusavx!ukma!david)
unmvax----\ \
research \____\____ anlams!ukma!david
boulder / /
ucbvax----/ /
/
decvax!ucbvax--/
For arpa-net, anlams has the name ANL-MCS. I have been having trouble
getting mail from arpa-net through anlams so maybe try a different route
or the user name "s".
More information about the Comp.lang.c
mailing list