Formatting of C++ warnings and errors

Philipp Thomas pthomas@suse.de
Fri Mar 31 02:31:00 GMT 2000


* Philippe De Muyter (phdm@macqel.be) [20000331 10:47]:

> - a resource in the termcap/terminfo description
> - the environment variable COLUMNS
> - handling of the SIGWINCH signal with the associated struct.
> 
> I would not include any of the above in gcc. That's not the job of the compiler
> to wrap lines at a specific line-length.

Well, but it, more specifically cc1plus, already does format lines, ATM on
75 chars but configurable via --fmessage-length. And as that code is
allready present, I'd say it could just as well take current terminal
line-length into account. But I'll leave out SIGWINCH handling as that'd be
overkill IMO.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h


More information about the Gcc mailing list