From 1daf6f3a5ba3a54bde4b8843b7b75dad3bb536eb Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Wed, 15 Sep 2004 20:05:11 +0000 Subject: [PATCH] * Make-lang.in (treelang-warn): Set to $(STRICT_WARN). From-SVN: r87562 --- gcc/treelang/ChangeLog | 8 ++++++-- gcc/treelang/Make-lang.in | 5 ++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gcc/treelang/ChangeLog b/gcc/treelang/ChangeLog index 837af4f7d07..e53d82499f8 100644 --- a/gcc/treelang/ChangeLog +++ b/gcc/treelang/ChangeLog @@ -1,3 +1,7 @@ +2004-09-15 Zack Weinberg + + * Make-lang.in (treelang-warn): Set to $(STRICT_WARN). + 2004-08-26 Nathan Sidwell * treetree.c (tree_code_get_integer_value): Fix build_int_cst call. @@ -100,7 +104,7 @@ 2004-01-30 Kelley Cook - * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir). + * Make-lang.in (doc/treelang.dvi): Use $(abs_docdir). 2004-01-20 Kelley Cook @@ -111,7 +115,7 @@ 2004-01-15 Kelley Cook * Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir). - (treelang/parse.o, treelang/lex.o): Look for sources in build + (treelang/parse.o, treelang/lex.o): Look for sources in build directory. Use implicit rule. (treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in doc directory. diff --git a/gcc/treelang/Make-lang.in b/gcc/treelang/Make-lang.in index 2ea3b656c38..2625ef1d1a4 100644 --- a/gcc/treelang/Make-lang.in +++ b/gcc/treelang/Make-lang.in @@ -56,9 +56,8 @@ GCC_EXTRAS = -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include TREE_GENERATED = lex.c parse.c parse.h parse.output TREE_EXES = tree1 -#no -Wtraditional warnings, allow long long -treelang-warn = $(LOOSE_WARN) -pedantic -Wno-long-long -Wmissing-prototypes \ - -Wmissing-declarations -Wno-variadic-macros $(WERROR) +#strict warnings for treelang +treelang-warn = $(STRICT_WARN) # bison emits some unused static arrays (yytoknum) treelang/parse.o-warn = -Wno-error # flex produces 'no previous prototype' warnings -- 2.30.2