svn commit: r348814 - head/stand/efi/boot1
Warner Losh
imp at FreeBSD.org
Sat Jun 8 19:58:59 UTC 2019
Author: imp
Date: Sat Jun 8 19:58:58 2019
New Revision: 348814
URL: https://svnweb.freebsd.org/changeset/base/348814
Log:
Add stuff to disable warning for %S
Add the customary warnings to disable format checking on armv7. Code
move to new files, and the unconditional setting of WARNS to 6
provoked it on tinerbox...
Modified:
head/stand/efi/boot1/Makefile
Modified: head/stand/efi/boot1/Makefile
==============================================================================
--- head/stand/efi/boot1/Makefile Sat Jun 8 19:50:57 2019 (r348813)
+++ head/stand/efi/boot1/Makefile Sat Jun 8 19:58:58 2019 (r348814)
@@ -13,9 +13,11 @@ CFLAGS+= -DEFI_BOOT1
# seems to matter on arm64 where wchar_t defaults to an int instead
# of a short. There's no good cast to use here so just ignore the
# warnings for now.
+CWARNFLAGS.proto.c+= -Wno-format
CWARNFLAGS.boot1.c+= -Wno-format
# Disable bogus alignment issues
+CWARNFLAGS.ufs_module.c += -Wno-format
CWARNFLAGS.ufs_module.c += -Wno-cast-align
# Disable warnings that are currently incompatible with the zfs boot code
More information about the svn-src-all
mailing list