This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: cpplib: command-line directive handling
On Sun, Mar 12, 2000 at 09:32:19AM +0900, Neil Booth wrote:
> 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?
Perhaps with -Wtraditional. 'function_ptr (args)' is legal ANSI C, so
not -pedantic.
zw