Disable compiler warning because of a bug in flex-2.5.31

Original commit message from CVS:
Disable compiler warning because of a bug in flex-2.5.31
This commit is contained in:
David Schleef 2003-04-11 21:44:04 +00:00
parent 8bfbc81d36
commit 5706980d33

View file

@ -6,8 +6,12 @@ CLEANFILES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c grammar.output
EXTRA_DIST = grammar.y parse.l types.h
# flex 2.5.31 produces code that causes compilation warnings
# (and thus errors)
DISABLE_FLEX_WARNING = -Wno-unused-function
nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
libgstparse_la_CFLAGS = $(GST_CFLAGS)
libgstparse_la_CFLAGS = $(GST_CFLAGS) $(DISABLE_FLEX_WARNING)
libgstparse_la_LIBADD = $(LIBGST_LIBS)
noinst_HEADERS = grammar.tab.h