Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!mit-eddie!uw-beaver!fluke!dcd
From: dcd@tc.fluke.COM (David Dyck)
Newsgroups: comp.os.minix
Subject: PC minix cc bug
Keywords: PC minix compiler bug sizeof
Message-ID: <10469@fluke.COM>
Date: 18 Aug 89 07:40:56 GMT
Sender: news@tc.fluke.COM
Organization: John Fluke Mfg. Co., Inc., Everett, WA
Lines: 19


Why does minix cc print the message
	"qe.c", line 5: size of object unknown

when compiling the following valid program (qe.c) ?
main()
{
	{
	static char m[]="hi there";
	printf("m=%s, sizeof(m)=%d\n", m, sizeof(m));
	}
}


            David Dyck
    Domain: dcd@tc.fluke.COM
     Voice: +1 206 356 5807
      UUCP: {uw-beaver,decwrl,microsof,sun}!fluke!dcd
     Snail: John Fluke Mfg. Co. / P.O. Box C9090 / Everett WA  98206