Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!axion!ist!jh From: jh@ist.CO.UK (Jeremy Huxtable) Newsgroups: comp.sys.mac.programmer Subject: Re: A possible bug in THINK C 4.0.1 Message-ID: <2806@istop.ist.CO.UK> Date: 27 Jun 90 08:48:18 GMT References: <1705@mountn.dec.com> Organization: Imperial Software Technology, London, UK Lines: 19 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.