From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <19f6168fb6b109424ddbb1d276d62e6b@brasstown.quanstro.net> References: <19f6168fb6b109424ddbb1d276d62e6b@brasstown.quanstro.net> Date: Sun, 1 Jul 2012 12:54:17 -0400 Message-ID: From: Comeau At9Fans To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=14dae9399cad36f7ca04c3c78873 Subject: Re: [9fans] cc nit? Topicbox-Message-UUID: a086487e-ead7-11e9-9d60-3106f5b1d025 --14dae9399cad36f7ca04c3c78873 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jun 30, 2012 at 5:25 PM, erik quanstrom wrote: > 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; > }; > ; 8c -a void.c > void.c:1 not a function > void.c:5 syntax error, last name: emptiness > ... I'm not sure where this is documented, but, isn't the problem (not just syntactically) with the above the missing semicolon on the typedef line and not the void'ness issue? -- Greg Comeau / 4.3.10.1 with C++0xisms now in beta! Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90. Comeau C/C++ with Dinkumware's Libraries... Have you tried it? --14dae9399cad36f7ca04c3c78873 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Jun 30, 2012 at 5:25 PM, erik quanstrom <quanstro@quanstro.net= > wrote:
i haven't tracked down thie issue yet, but it appears that ?c
generate unparsable acid output

; cat > void.c
typedef struct =A0PNOTIFY PNOTIFY

struct PNOTIFY {
=A0 =A0 =A0 =A0 void =A0 =A0emptiness;
};
<eot>; 8c -a void.c
void.c:1 not a function
void.c:5 syntax error, last name: emptiness
...


I'm not sure where this i= s documented, but, isn't the problem (not just syntactically) with the = above the missing semicolon on the typedef line and not the void'ness i= ssue?

--
Greg Comeau / 4.3.10.1 with C++0xisms now in bet= a!
Comeau C/C++ ONLINE =3D=3D> =A0 =A0 http://www.comeaucomputing.c= om/tryitout
World Class Compilers: =A0Breathtaking C++, Amazing C99, Fabulous C90.=
Comeau C/C++ with Dinkumware's Libraries... Have you tried i= t?

--14dae9399cad36f7ca04c3c78873--