Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2017 11:14:54 -0700
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Ruslan Bukin <br@FreeBSD.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r321331 - head/share/mk
Message-ID:  <12D1C1EF-EC00-459F-844E-E5EA342EEDF2@gmail.com>
In-Reply-To: <201707211450.v6LEoWCO064640@repo.freebsd.org>
References:  <201707211450.v6LEoWCO064640@repo.freebsd.org>

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

--Apple-Mail=_54C233BD-B295-481F-9FD1-882D1305D4AF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Jul 21, 2017, at 07:50, Ruslan Bukin <br@FreeBSD.org> wrote:
>=20
> Author: br
> Date: Fri Jul 21 14:50:32 2017
> New Revision: 321331
> URL: https://svnweb.freebsd.org/changeset/base/321331
>=20
> Log:
>  Add warning flags for GCC 7.1.0 compiler.
>=20
>  Sponsored by:	DARPA, AFRL
>=20
> Modified:
>  head/share/mk/bsd.sys.mk
>=20
> Modified: head/share/mk/bsd.sys.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/share/mk/bsd.sys.mk	Fri Jul 21 14:14:47 2017	=
(r321330)
> +++ head/share/mk/bsd.sys.mk	Fri Jul 21 14:50:32 2017	=
(r321331)
> @@ -145,6 +145,23 @@ CWARNFLAGS+=3D	=
-Wno-error=3Dmisleading-indentation	\
> 		-Wno-error=3Dunused-const-variable
> .endif
>=20
> +# GCC 7.1.0
> +.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 70100
> +CWARNFLAGS+=3D	-Wno-error=3Ddeprecated			\
> +		-Wno-error=3Dpointer-compare		\
> +		-Wno-error=3Dformat-truncation		\
> +		-Wno-error=3Dimplicit-fallthrough		\
> +		-Wno-error=3Dexpansion-to-defined		\
> +		-Wno-error=3Dint-in-bool-context		\
> +		-Wno-error=3Dbool-operation		\
> +		-Wno-error=3Dformat-overflow		\
> +		-Wno-error=3Dstringop-overflow		\
> +		-Wno-error=3Dmemset-elt-size		\
> +		-Wno-error=3Dint-in-bool-context		\
> +		-Wno-error=3Dunused-const-variable	\
> +		-Wno-error=3Dnonnull
> +.endif

Hi Ruslan,
	1. Fixing some of these warnings make sense =E2=80=94 why are we =
ignoring them?
	2. Why isn=E2=80=99t this being MFCed? gcc 7.1.0 is available on =
^/stable/11 as well.
Thanks,
-Ngie

--Apple-Mail=_54C233BD-B295-481F-9FD1-882D1305D4AF
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-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJZdOefAAoJEPWDqSZpMIYVWCIP/iNveEEqws2D7gMNrwPMBA27
jZ1Jn2wQUmyAWao47fPnODX20qGBuJJZWhc6D0pwGp7nVeNOyFFs+v8DzwLNvhRO
wucODiaAOUyZs229aAiDz8/K5CfYQ7aEYln+E654K0jFBS8cxTXGQEPSheiwtQg8
2KmjpCrwk7wVOGFPABPfutQS23ABXFYrhetmv367/GKxexnavg+3NZvf7RsdhWPr
CCB6DFjcjaBQ8XEKtchpPVb2XclrtEe7kfjxc1BrnXoVyaep4CLbY07Z/pbyBb74
P0iwkmPZOmUR9lqaN1QRdaIv0xNm9rrRx3cj6PWwKwd1RT9IgEf0STB/bY+cCV1H
6bv/VQ2vso0xTAWAXldFuSHCg+BQH1F4DJi+o56IQK/kEgrlGRnIedX5zL53SxgR
DBVruMTX9otcomAd/VP7w0TyZvpSxzog++YhispdxMcC5Kl/BsaC4tlOxUkQBx0m
80Yq05uRMXpCIhtOm7OprR5031UOm/iGJ2JHksILs2tTCJBx4NJ2feCFRc1ogeKP
7Mip1AMpZkJ5h/D3zmO5KyvNFrEdrlTyDwZohLOL80+fYq7PUPto7/lQxGGoOSfs
i6+5xcLvfivTGd4ynSzZ004sbYbYN6PsgFBofPoX7zUM9h5PWSDn48O7oQJcRh3I
6u3g374TqCqxFHlIqDvc
=Orh7
-----END PGP SIGNATURE-----

--Apple-Mail=_54C233BD-B295-481F-9FD1-882D1305D4AF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12D1C1EF-EC00-459F-844E-E5EA342EEDF2>