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 Sun, Oct 16, 2011 at 1:03 PM, Gabriel Dos Reis
<gdr@integrable-solutions.net> wrote:
> On Sun, Oct 16, 2011 at 5:42 AM, Richard Guenther
> <richard.guenther@gmail.com> wrote:
>> On Sun, Oct 16, 2011 at 12:31 PM, Paolo Carlini
>> <paolo.carlini@oracle.com> wrote:
>>> On 10/16/2011 12:28 PM, Gabriel Dos Reis wrote:
>>>>
>>>> On Sun, Oct 16, 2011 at 5:03 AM, Paolo Carlini<paolo.carlini@oracle.com>
>>>> ?wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> in this simple documentation PR, Tom noticed that we have a (very long
>>>>> standing) inconsistency between the default value of -fmessage-length for
>>>>> C++ as documented and as implemented: in fact it's 0 in
>>>>> cxx-pretty-print.c,
>>>>> like all the other front-ends. At the time of the PR people briefly
>>>>> envisage
>>>>> changing the default but the discussion didn't go anywhere, I think we
>>>>> can
>>>>> as well do the below, for the time being at least, remove the
>>>>> inconsistency.
>>>>>
>>>>> Ok?
>>>>
>>>> I still think the default for g++ should be 72. ?Notice that other
>>>> front-ends have set it to zero because they feared something, unlike the
>>>> C++ frontend.
>>>
>>> To be clear, I have no strong opinion. But last time Richard Gunther
>>> strongly disagreed (and now he is a Global Reviewer ;) Thus, just let me
>>> know guys...
>>
>> 0 is just so much more convenient for consumers and all consumers that
>> care for line lengths can properly wrap around. ?So I don't see a good
>> reason to have -fmessage-length at all.
>
> This is an argument that should have been made more than a decade ago
> and -fmessage-length was *requested* by users who did care about
> line length, and implemented for g++.

I wasn't around at that time, so sorry for not raising my opinion earlier ;)

Richard.


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