build: use -Wno-sign-compare to avoid compilation warning in mini-gmp.c
Pablo Neira Ayuso
maintainerPATCH 1/1 build: use -Wno-sign-compare to avoid compilation warning in mini-gmp.c
CC mini-gmp.omini-gmp.c: In function ‘mpn_get_str_bits’:
mini-gmp.c:1176:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] mini-gmp.c: In function ‘mpz_and’:
mini-gmp.c:3650:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] mini-gmp.c: In function ‘mpz_ior’:
mini-gmp.c:3723:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] mini-gmp.c: In function ‘mpz_xor’:
mini-gmp.c:3792:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] mini-gmp.c: In function ‘mpz_set_str’:
mini-gmp.c:4167:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
--- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+)
src/Makefile.am +2 -0
@@ -52,6 +52,8 @@ nft_SOURCES += cli.c endif if BUILD_MINIGMP +mini-gmp.o: AM_CFLAGS += -Wno-sign-compare + nft_SOURCES += mini-gmp.c endif
Signature · 6 lines
1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html