This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Printing types
- To: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Subject: Re: Printing types
- From: Nathan Sidwell <nathan at acm dot org>
- Date: Mon, 01 Nov 1999 09:02:35 +0000
- CC: "Martin v. Loewis" <martin at mira dot isdn dot cs dot tu-berlin dot de>, egcs at egcs dot cygnus dot com
- References: <199910301705.TAA12275@jolan.ppro>
- Reply-To: nathan at compsci dot bristol dot ac dot uk
Carlo Wood wrote:
> I've already checked out the source from the CVS, installed the
> infrastructure (tools) and am now compiling the compiler...
> Please let me know in time if you have second thoughts about
> adding a patch from me that will change the printing of types in
> warnings and errors in the consistent style as posted before.
Gabriel dos Reis and myself recently reorganized the type
printing code in error.c. The archives should have some discussion
about this stuff. (about a month ago).
highlights
* in a template instantiation uses the template type parm, and tells
you how it was expanded
* consistent about spacing around *, & etc
* More configurable bit flags to control formatting.
IIR, the discussion decided to stick with GNU style formatting for now
(`const int *const '). But no strong feeling was expressed about
religiously adhering to it.
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
I have seen the death of PhotoShop -- it is called GIMP
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk