From 8af1390af23ebca93bceb6c267e46451bec390d4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 19 Apr 2016 22:46:12 +0100 Subject: [PATCH] Makefile.in: turn of -Wsign-compare for bison output conffile.yy.c: In function `yy_get_next_buffer': conffile.yy.c:1228:44: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { ^ Signed-off-by: Ian Jackson --- Makefile.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.in b/Makefile.in index ba5c0da..391acf9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -127,6 +127,8 @@ conffile.yy.h: conffile.yy.c conffile.tab.c: conffile.y # End of manual dependencies section +conffile.yy.o: ALL_CFLAGS += -Wno-sign-compare + secnet: $(OBJECTS) $(MAKE) version.o # *.o $(filter-out %.o, $^) $(CC) $(LDFLAGS) $(ALL_CFLAGS) -o $@ $(OBJECTS) version.o $(LDLIBS) -- 2.30.2