This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Formatting of C++ warnings and errors


* 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]