Formatting of C++ warnings and errors
Mark Mitchell
mark@codesourcery.com
Thu Mar 30 16:58:00 GMT 2000
>>>>> "Philipp" == Philipp Thomas <pthomas@suse.de> writes:
Philipp> Nathan,
Philipp> if I remember correctly, it was you that changed the
Philipp> formatting of warning/error messages in g++. If yes, is
Philipp> there a way to make g++ check the current line length,
Philipp> e.g. by doing getenv("COLUMNS")? As my framebuffer
Philipp> console is 160x64, the messages look a bit funny as
Philipp> they're wrapped at 80 columns.
There is already a command-line switch (-fmessage-length). Unless
absolutely necessary, I think that's better than an environment
variable. Code to automatically determine window width (if possible)
would be welcome. Because such things are often system-specific, such
code would need to be under autoconf control, of course.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list