svn commit: r284644 - head/usr.sbin/fstyp

Garrett Cooper yaneurabeya at gmail.com
Sat Jun 20 20:16:40 UTC 2015


> On Jun 20, 2015, at 08:03, Allan Jude <allanjude at 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...


More information about the svn-src-head mailing list