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:
наб 2022-02-16 16:10:57 +01:00 committed by Brian Behlendorf
parent 4e1f1035d0
commit d8552689d1
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ VPATH = \
AM_CFLAGS += $(FRAME_LARGER_THAN) $(LIBTIRPC_CFLAGS)
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
include $(top_srcdir)/config/Abigail.am