From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <1d5d51400909090803n4c4d5b7ewba9dfe0573d02495@mail.gmail.com> Date: Wed, 9 Sep 2009 16:49:02 +0100 Message-ID: From: roger peppe To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] porting help please (gcc void pointer handling) Topicbox-Message-UUID: 6b782dca-ead5-11e9-9d60-3106f5b1d025 2009/9/9 erik quanstrom : >> gcc happily compiles a definition like >> #define CT_v249 =C2=A0 =C2=A0 =C2=A0 ((void*)startLabel+464) > > no it doesn't. yes it does: % cat > x.c void *f(void *v){return v + 23;} % gcc -Wall -c x.c %