C++ error printer cleanup, phase 1

Joseph S. Myers jsm28@cam.ac.uk
Sun Sep 23 14:24:00 GMT 2001


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?

(See some discussion of this filed in PR c/1027.)

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list