This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Linewrapping default for error messages set to $COLUMNS
> >>>>> "Mathias" == Mathias Fröhlich <Mathias.Froehlich@web.de> writes:
>
> Mathias> I think it is usefull to wrap lines at getenv ("COLUMNS")
> Mathias> characters instead of using 80 as default.
>
> Isn't this what the -fmessage-length=N does?
Yes, you can call gcc with -fmessage-length=$COLUMNS.
But I think, that using the value of $COLUMNS as a default makes much more
sense then simply using 80. If it's that simple to have a better value than a
fixed one, why not using this?
Regards
Mathias Fröhlich
--
Mathias Fröhlich, e-mail: Mathias.Froehlich@web.de