Header problems

John Campbell jdc at naucse.UUCP
Thu Mar 10 01:15:06 AEST 1988


In article <25398 at cca.CCA.COM>, g-rh at cca.CCA.COM (Richard Harter) writes:
> >
> 	This comes up regularly.  There is nothing wrong defining NULL as
> 0; it does not make for non-portability.  The fault lies in passing NULL
> as an uncasted pointer across a calling sequence.  Since lint will tell
> you about this, there is no good reason for this happening.

I've enjoyed and appreciated Richard's contributions to the net these
past weeks, but he should realize that not all 'C' code is written on
unix.  I am (gasp) developing under VMS.  I don't have lint; VMS compiler
options are suppose to be all I need :-(.

A while back a program called check(1) was posted.  I could not, easily,
get this to work on VMS.  I looked at a local copy of the pre-processor
for gnu-c and decided I didn't want to try to get that working on VMS.
I should probably abandon VMS :-) but I get paid to work on it  
(paid to create code that might be non-portable due to not having a lint).

PS anyone know of VMS lints for free?
PPS who's writing the next ANSI lint?
PPPS Thanks, again, to Chris Torek for NULL sanity.
-- 
	John Campbell               ...!arizona!naucse!jdc

	unix?  Sure send me a dozen, all different colors.



More information about the Comp.lang.c mailing list