Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 13:16:36 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Allan Jude <allanjude@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r284644 - head/usr.sbin/fstyp
Message-ID:  <A4E24B22-B2C8-4846-BE94-6D0A31E448E6@gmail.com>
In-Reply-To: <201506201503.t5KF33Km091795@svn.freebsd.org>
References:  <201506201503.t5KF33Km091795@svn.freebsd.org>

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

> On Jun 20, 2015, at 08:03, Allan Jude <allanjude@FreeBSD.org> wrote:
>=20
> Author: allanjude (doc committer)
> Date: Sat Jun 20 15:03:02 2015
> New Revision: 284644
> URL: https://svnweb.freebsd.org/changeset/base/284644
>=20
> Log:
>  Fix the build for gcc by lowering the WARNS level
>=20
>  Approved by:    sbruno
>  X-MFC-With:    r284589
>=20
> Modified:
>  head/usr.sbin/fstyp/Makefile
>=20
> Modified: head/usr.sbin/fstyp/Makefile
> =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/usr.sbin/fstyp/Makefile    Sat Jun 20 13:30:09 2015    (r284643)
> +++ head/usr.sbin/fstyp/Makefile    Sat Jun 20 15:03:02 2015    (r284644)
> @@ -11,7 +11,7 @@ SRCS +=3D    zfs.c
>=20
> MAN=3D    fstyp.8
>=20
> -WARNS=3D    6
> +WARNS?=3D    0

You could also guard it by COMPILER_TYPE. As others have stated though, fixi=
ng the prototypes issues is relatively trivial...=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A4E24B22-B2C8-4846-BE94-6D0A31E448E6>