Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jun 2019 19:58:58 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r348814 - head/stand/efi/boot1
Message-ID:  <201906081958.x58JwwAf014533@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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