C++ error printer cleanup, phase 1

Zack Weinberg zack@codesourcery.com
Sun Sep 23 16:24:00 GMT 2001


On Sun, Sep 23, 2001 at 10:24:09PM +0100, Joseph S. Myers wrote:
> On Sun, 23 Sep 2001, Zack Weinberg wrote:
> 
> > First, cp_error_at and friends will be changed so they do not have to
> > scan their argument list twice: unless someone has a better idea, I
> > will make the position an explicit argument instead of embedding it
> > somewhere in the variable arguments.
> > 
> > Second, cp_error/cp_warning/cp_pedwarn will be globally replaced with
> > error/warning/pedwarn.
> > 
> > Third, the old tree printer will be changed as suggested above, to
> > avoid the scratch buffer.
> 
> How about,
> 
> Fourth, the C++ format extensions such as %T will be made available to the
> C front end as well?

I agree this is desirable, but I don't have plans to do this
immediately.  The patch series is meant to be cleanups only.

zw



More information about the Gcc-patches mailing list