This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: command-line directive handling
- To: Richard Henderson <rth at cygnus dot com>
- Subject: Re: cpplib: command-line directive handling
- From: Neil Booth <NeilB at earthling dot net>
- Date: Sun, 12 Mar 2000 09:32:19 +0900
- Cc: gcc-patches at gcc dot gnu dot org, Zack Weinberg <zack at wolery dot cumb dot org>
- References: <E12TgAs-00007a-00@monkey.rosenet.ne.jp> <20000311115134.B3910@cygnus.com>
Richard Henderson wrote:-
> On Sat, Mar 11, 2000 at 04:18:58PM +0900, Neil Booth wrote:
> > + p->handler (pfile, p->arg);
>
> I'm pretty sure this is rejected by K&R C. You want
>
> (*p->handler) (pfile, p->arg);
>
>
> r~
Thanks, I've committed this. Is this something we should warn about
with -pedantic?
Neil.