This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [C++ Patch] PR 32614


On Mon, Oct 17, 2011 at 12:31 PM, Jason Merrill <jason@redhat.com> wrote:
> On 10/17/2011 07:48 AM, Paolo Carlini wrote:
>>
>> And please help
>> re-assessing the situation wrt the other front-ends *today* not in the
>> stone age.
>
> EDG always wraps diagnostics at ~80 columns.

I did not mention the name of the compiler before.  Yes EDG's before
was the model for my original implementation.  The choice of 72 instead
of 80 was because of Emacs guidelines -- which at the time I was told
superseded everything :-)

> clang wraps diagnostics at $COLUMNS when stderr is going to a terminal, and
> doesn't wrap otherwise.
>
> The clang behavior seems like the right way to go.

Looking at COLUMNS was suggested in the past on several occasions.
I am OK with it.


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