A solution to the multiple inclusion problem

Blair P. Houghton bph at buengc.BU.EDU
Wed Oct 25 13:02:42 AEST 1989


How about ( in <foo.h>):

	#pragma Never_Again

Which tells the BlairTech/ANSI1.0 compiler that when it hits
a #include to read this file again, it should just ignore it.

				--Blair
				  "Which is what the original
				   poster was saying, only in an
				   'I want it standardized, maybe'
				   manner..."



More information about the Comp.lang.c mailing list