typedef gripe

Chris Torek chris at umcp-cs.UUCP
Sat Oct 6 15:08:43 AEST 1984


One can always (sigh) cheat and write

	typedef struct {
		int a[10];
	} jmp_buf;

There is an obvious problem with changing the language such that

	typedef int foo[10];

makes ``foo'' a type which is considered a unit (like structs and
unions and basic types), and that is that it would probably break
quite a bit of existing code.
-- 
(This mind accidently left blank.)

In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.lang.c mailing list