git: abb9a940bb48 - main - makefs: Ignore some sign comparison warnings from GCC.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Nov 2022 18:38:45 UTC
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