Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2019 00:08:31 +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: r348675 - head/stand/efi/boot1
Message-ID:  <201906050008.x5508V6t008478@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Jun  5 00:08:30 2019
New Revision: 348675
URL: https://svnweb.freebsd.org/changeset/base/348675

Log:
  ufs_module.c can't currently be compiled with -Wcast-align, but the
  code is safe enough. Turn off the warning for now until I can find the
  right construct to silence it in the code.

Modified:
  head/stand/efi/boot1/Makefile

Modified: head/stand/efi/boot1/Makefile
==============================================================================
--- head/stand/efi/boot1/Makefile	Wed Jun  5 00:04:21 2019	(r348674)
+++ head/stand/efi/boot1/Makefile	Wed Jun  5 00:08:30 2019	(r348675)
@@ -15,6 +15,9 @@ CFLAGS+=	-DEFI_BOOT1
 # warnings for now.
 CWARNFLAGS.boot1.c+=	-Wno-format
 
+# Disable bogus alignment issues
+CWARNFLAGS.ufs_module.c += -Wno-cast-align
+
 # Disable warnings that are currently incompatible with the zfs boot code
 CWARNFLAGS.zfs_module.c += -Wno-array-bounds
 CWARNFLAGS.zfs_module.c += -Wno-cast-align



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