mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 17:10:36 +00:00
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.
This commit is contained in:
parent
cf461fdb1d
commit
92fb04661f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348675
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue