From mboxrd@z Thu Jan 1 00:00:00 1970 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Your message of "Sat, 30 Jun 2012 17:37:37 EDT." References: <19f6168fb6b109424ddbb1d276d62e6b@brasstown.quanstro.net> <20120630213344.4171DB827@mail.bitblocks.com> Date: Sat, 30 Jun 2012 15:15:05 -0700 From: Bakul Shah Message-Id: <20120630221505.8D6E2B82A@mail.bitblocks.com> Subject: Re: [9fans] cc nit? Topicbox-Message-UUID: a06df3b4-ead7-11e9-9d60-3106f5b1d025 On Sat, 30 Jun 2012 17:37:37 EDT erik quanstrom wrote: > On Sat Jun 30 17:34:47 EDT 2012, bakul@bitblocks.com wrote: > > On Sat, 30 Jun 2012 17:25:21 EDT erik quanstrom wr > ote: > > > i haven't tracked down thie issue yet, but it appears that ?c > > > generate unparsable acid output > > > > > > ; cat > void.c > > > typedef struct PNOTIFY PNOTIFY > > > > > > struct PNOTIFY { > > > void emptiness; > > > }; ^^^^ > > > > Why would you do that? > > because there's nothing that needs to be saved there for the k10 > architecture. I think this void exension is just plain broken. Try #include #include void foo; void bar; main() { print("%p, %p\n", &foo, &bar); It fails in the link stage for me. I would've tried struct PNOTIFY { char nothingness[0]; }; as it more directly expresses the intent (at least to me) but that doesn't work either.