[comp.sys.mac.programmer] A possible bug in THINK C 4.0.1

jh@ist.CO.UK (Jeremy Huxtable) (06/27/90)

Apropos of this discussion, I have found a bug with address allocation
in THINK C 3 which goes like this:

	char foo[7][7] = {
		"a",
		"b",
		"def",
		...
	};

Instead of placing the strings 7 bytes apart, THINK C packs them all together
tightly. The fix to this is:

	typedef char Foo[7];
	Foo foo[7] = {
	};


Jeremy Huxtable.