From: Ian Jackson Date: Tue, 19 Apr 2016 21:46:12 +0000 (+0100) Subject: Makefile.in: turn of -Wsign-compare for bison output X-Git-Tag: v0.4.1~16 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=secnet.git;a=commitdiff_plain;h=8af1390af23ebca93bceb6c267e46451bec390d4 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 --- 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)