From 0a51946f7c5ca499e305f10c4c1c6cd556dbd1a7 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 5 Jul 2011 17:13:57 -0500 Subject: [PATCH 1/1] uss: Suppress more warnings from lex.yy.c Specify -Wold-style-definition when compiling lex.yy.c. This allows us to compile when --enable-checking is specified and our lex generates code with old-style function definitions. Change-Id: I09c87fd6274b5850952a8aaf63f0e3358100d567 Reviewed-on: http://gerrit.openafs.org/4905 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/uss/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uss/Makefile.in b/src/uss/Makefile.in index 1e26c91..5076b66 100644 --- a/src/uss/Makefile.in +++ b/src/uss/Makefile.in @@ -46,7 +46,7 @@ uss: uss.o ${OBJS} $(LIBS) uss.o: uss.c AFS_component_version_number.c -CFLAGS_lex.yy.o = @CFLAGS_NOUNUSED@ +CFLAGS_lex.yy.o = @CFLAGS_NOUNUSED@ @CFLAGS_NOOLDSTYLE@ lex.yy.o : lex.yy.c y.tab.c lex.yy.c : lex.l -- 1.9.4