Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2022 18:38:45 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: abb9a940bb48 - main - makefs: Ignore some sign comparison warnings from GCC.
Message-ID:  <202211231838.2ANIcjK5067992@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=abb9a940bb48716f8eb06980f02eec04e0921448

commit abb9a940bb48716f8eb06980f02eec04e0921448
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-11-23 18:38:29 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-11-23 18:38:29 +0000

    makefs: Ignore some sign comparison warnings from GCC.
    
    Reviewed by:    markj
    Differential Revision:  https://reviews.freebsd.org/D37470
---
 usr.sbin/makefs/ffs/Makefile.inc | 2 ++
 usr.sbin/makefs/zfs/Makefile.inc | 1 +
 2 files changed, 3 insertions(+)

diff --git a/usr.sbin/makefs/ffs/Makefile.inc b/usr.sbin/makefs/ffs/Makefile.inc
index a1e839fd7ab6..cff2c30b67c5 100644
--- a/usr.sbin/makefs/ffs/Makefile.inc
+++ b/usr.sbin/makefs/ffs/Makefile.inc
@@ -7,3 +7,5 @@ SRCS+=	buf.c mkfs.c
 
 # Reach-over source from sys/ufs/ffs
 SRCS+=	ffs_tables.c
+
+CWARNFLAGS.ffs_balloc.c+= -Wno-sign-compare
diff --git a/usr.sbin/makefs/zfs/Makefile.inc b/usr.sbin/makefs/zfs/Makefile.inc
index bebe8c322035..78561813e229 100644
--- a/usr.sbin/makefs/zfs/Makefile.inc
+++ b/usr.sbin/makefs/zfs/Makefile.inc
@@ -10,3 +10,4 @@ SRCS+=	dsl.c \
 SRCS+=	nvlist.c
 
 CFLAGS.nvlist.c+= -I${SRCTOP}/stand/libsa -Wno-cast-qual
+CWARNFLAGS.zap.c+= -Wno-sign-compare



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211231838.2ANIcjK5067992>