C preprocessor portability question -- initial #

Guy Harris guy at sun.uucp
Tue Nov 11 06:22:20 AEST 1986


> 
> 	Back in the "good old days" (i.e. v6) a c source file was only run
> through the preprocessor if the first character in the file was a '#'.  Are
> there any systems out there that still enforce this, or is it strictly a
> relic of the past?

It's strictly a relic of the past.  Check out the source code to the 4.3BSD
kernel; for example, the most common first character there is "/".
-- 
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy at sun.com (or guy at sun.arpa)



More information about the Comp.unix.wizards mailing list