Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2016 21:31:19 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        cem@freebsd.org
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r305392 - head/sys/conf
Message-ID:  <D294D78E-6C86-4AA2-B804-DF55D431AA91@FreeBSD.org>
In-Reply-To: <CAG6CVpU%2BeWvmdC-VzZ6jtQaUydsH4=9NNao8XPu2fSr0LYDgqQ@mail.gmail.com>
References:  <201609041755.u84HtMa5060050@repo.freebsd.org> <CAG6CVpU%2BeWvmdC-VzZ6jtQaUydsH4=9NNao8XPu2fSr0LYDgqQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_72F95BE3-AB11-43AC-A7D8-F1111E331EB5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 04 Sep 2016, at 20:57, Conrad Meyer <cem@FreeBSD.org> wrote:
>=20
> On Sun, Sep 4, 2016 at 10:55 AM, Dimitry Andric <dim@freebsd.org> =
wrote:
>> Author: dim
>> Date: Sun Sep  4 17:55:22 2016
>> New Revision: 305392
>> URL: https://svnweb.freebsd.org/changeset/base/305392
>>=20
>> Log:
>>  For kernel builds, instead of suppressing certain clang warnings, =
make
>>  them non-fatal, so there is some incentive to fix them eventually.
>>=20
>> Modified:
>>  head/sys/conf/kern.mk
>>=20
>> Modified: head/sys/conf/kern.mk
>> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>> --- head/sys/conf/kern.mk       Sun Sep  4 17:50:23 2016        =
(r305391)
>> +++ head/sys/conf/kern.mk       Sun Sep  4 17:55:22 2016        =
(r305392)
>> @@ -17,13 +17,13 @@ CWARNFLAGS?=3D        -Wall -Wredundant-decls -Wn
>> # kernel where fixing them is more trouble than it is worth, or where =
there is
>> # a false positive.
>> .if ${COMPILER_TYPE} =3D=3D "clang"
>> -NO_WCONSTANT_CONVERSION=3D       -Wno-constant-conversion
>> -NO_WSHIFT_COUNT_NEGATIVE=3D      -Wno-shift-count-negative
>> -NO_WSHIFT_COUNT_OVERFLOW=3D      -Wno-shift-count-overflow
>> -NO_WSELF_ASSIGN=3D               -Wno-self-assign
>> -NO_WUNNEEDED_INTERNAL_DECL=3D    -Wno-unneeded-internal-declaration
>> +NO_WCONSTANT_CONVERSION=3D       -Wno-error-constant-conversion
>> +NO_WSHIFT_COUNT_NEGATIVE=3D      -Wno-error-shift-count-negative
>> +NO_WSHIFT_COUNT_OVERFLOW=3D      -Wno-error-shift-count-overflow
>> +NO_WSELF_ASSIGN=3D               -Wno-error-self-assign
>> +NO_WUNNEEDED_INTERNAL_DECL=3D    =
-Wno-error-unneeded-internal-declaration
>> NO_WSOMETIMES_UNINITIALIZED=3D   -Wno-error-sometimes-uninitialized
>> -NO_WCAST_QUAL=3D                 -Wno-cast-qual
>> +NO_WCAST_QUAL=3D                 -Wno-error-cast-qual
>=20
> I like goal of the change.  Shouldn't these be -Wno-error=3Dcast-qual,
> etc., though?

That's how gcc spells them.  Clang accepts both forms, there is no
functional difference.

-Dimitry


--Apple-Mail=_72F95BE3-AB11-43AC-A7D8-F1111E331EB5
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.30

iEYEARECAAYFAlfMdowACgkQsF6jCi4glqPnhACdFylP/bc8HHq32x9433fJ/5/8
nTAAoMICtdS+0AMgU0F+hmi/ZXbwNn2H
=SbgV
-----END PGP SIGNATURE-----

--Apple-Mail=_72F95BE3-AB11-43AC-A7D8-F1111E331EB5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D294D78E-6C86-4AA2-B804-DF55D431AA91>