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: > > Author: allanjude (doc committer) > Date: Sat Jun 20 15:03:02 2015 > New Revision: 284644 > URL: https://svnweb.freebsd.org/changeset/base/284644 > > Log: > Fix the build for gcc by lowering the WARNS level > > Approved by: sbruno > X-MFC-With: r284589 > > Modified: > head/usr.sbin/fstyp/Makefile > > Modified: head/usr.sbin/fstyp/Makefile > ============================================================================== > --- 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 += zfs.c > > MAN= fstyp.8 > > -WARNS= 6 > +WARNS?= 0 You could also guard it by COMPILER_TYPE. As others have stated though, fixing 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>
