libnvpair: json: suppress wchar_t >=0 warnings
Reviewed-by: Alejandro Colomar <alx.manpages@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13110
This commit is contained in:
parent
4e1f1035d0
commit
d8552689d1
|
@ -9,6 +9,10 @@ VPATH = \
|
||||||
AM_CFLAGS += $(FRAME_LARGER_THAN) $(LIBTIRPC_CFLAGS)
|
AM_CFLAGS += $(FRAME_LARGER_THAN) $(LIBTIRPC_CFLAGS)
|
||||||
AM_CFLAGS += -fvisibility=hidden
|
AM_CFLAGS += -fvisibility=hidden
|
||||||
|
|
||||||
|
# wchar_t is undefined-signedness, but we compare to >=0; this warns with unsigned wchar_t
|
||||||
|
libnvpair_json.$(OBJEXT): CFLAGS += -Wno-type-limits
|
||||||
|
libnvpair_json.l$(OBJEXT): CFLAGS += -Wno-type-limits
|
||||||
|
|
||||||
lib_LTLIBRARIES = libnvpair.la
|
lib_LTLIBRARIES = libnvpair.la
|
||||||
|
|
||||||
include $(top_srcdir)/config/Abigail.am
|
include $(top_srcdir)/config/Abigail.am
|
||||||
|
|
Loading…
Reference in New Issue