C preprocessor: undefined control

Eric Gisin egisin at mks.UUCP
Tue Mar 21 03:10:50 AEST 1989


A kludgy solution that will work with many pre-ANSI compilers
is to indent any ANSI preprocessor directives so that the old
compiler will ignore them. This works with Greenhill C on BSD:
#if 0
	#pragma x
#endif



More information about the Comp.bugs.4bsd.ucb-fixes mailing list