C linkage query

Andrew Koenig ark at alice.UUCP
Thu Jun 8 14:15:50 AEST 1989


Does anyone have a C compiler + linker incapable of handling this:

	extern int foo;

	main() { }

That is: are there any C implementations that turn an
`extern' declaration for a variable that is never actually
referenced into a genuine external reference that inhibits
linking?
-- 
				--Andrew Koenig
				  ark at europa.att.com



More information about the Comp.lang.c mailing list