mirror of https://git.freebsd.org/src.git
libzpool: Disable -Wpointer-to-int-cast warnings for GCC
This warning is already disabled for zfs.ko.main
parent
59884aea8b
commit
766c4ad385
|
@ -288,6 +288,8 @@ CSTD= c99
|
|||
|
||||
CFLAGS+= -g -DDEBUG=1
|
||||
|
||||
CFLAGS.gcc+= -Wno-pointer-to-int-cast
|
||||
|
||||
# Pointer values are used as debugging "tags" to mark reference count
|
||||
# ownerships and in some cases the tag reference is dropped after an
|
||||
# object is freed.
|
||||
|
|
Loading…
Reference in New Issue