svn commit: r303188 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Sat Jul 23 01:24:43 UTC 2016


On 7/22/2016 5:25 PM, Bruce Evans wrote:
> On Fri, 22 Jul 2016, Ngie Cooper wrote:
> 
>> On Fri, Jul 22, 2016 at 2:57 PM, Bruce Evans <brde at optusnet.com.au>
>> wrote:
>> ...
>>>>> +# GCC 6.1.0
>>>>> +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100
>>>>> +CWARNFLAGS+=   -Wno-error=unused-const-variable=
>>>>> -Wno-error=nonnull-compare -Wno-error=shift-negative-value
>>>>> -Wno-error=misleading-indentation -Wno-error=tautological-compare
>>>>> +.endif
>>>>
>>>>
>>>> Extra trailing = in the first one as well?
>>>
>>> I don't see one.  I see only unreadably long lines containing unreadably
>>> unordered flags.  Perhaps your mail client mangled the line splitting,
>>> but the above quite displays OK in mutt and vi here (except mutt makes
>>> the line wrapping especially ugly by highlighting it).
>>
>> Look for "-Wno-error=unused-const-variable=".
> 
> It is not trailing :-).  It is only trailing in the above quote and
> apparently in the mail as seen by jhb because some mail programs mangle
> the formatting worse than others.  In the above quote as seen by me
> in EDITOR=vi, the long line is split and each part is quoted.  But in
> the previous quote, the line wasn't split.  Since it was unreadable
> by me, I used the editor search function to check if it had a trailing
> '=' using a regexp, and none was found.

It's not a mail issue. It is in the actual file. See
https://svnweb.freebsd.org/base/head/share/mk/bsd.sys.mk?r1=303188&r2=303187&pathrev=303188
and
https://svnweb.freebsd.org/base/head/share/mk/bsd.sys.mk?revision=303188&view=markup&pathrev=303188#l119

Specifically "-Wno-error=unused-const-variable=", the first value.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20160722/7f35b388/attachment.sig>


More information about the svn-src-head mailing list