Yet Another Lint Foul-up

Jack L. Vevea vevea at paideia.uchicago.edu
Fri Jan 6 18:09:25 AEST 1989


	I've passively watched the discussion of lint's problems with
  exit(0) from main(), and find myself wondering why it matters.  I use
  lint to check my code, but I've gotten into the habit of automatically
  ignoring certain output, including 'warning:  main() returns a random
  value to the invocation environment.'  Being primarily a psychometrician,
  and not a professional C (or any other language) programmer, I find myself
  wondering if some of you out there are working under conditions in which
  some higher authority requires you to produce a clean lint run as 
  evidence of good coding.  Otherwise, it would seem to me that any
  concern with the message would be evidence of your being a slave to
  lint; why else be concerned when you _know_ that the warning is
  inconsequential?



More information about the Comp.lang.c mailing list