This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

another -Wno-error for a flex-generated file


treelang/lex.o needs this treatment too.

zw

treelang:
        * Make-lang.in: Set -Wno-error for treelang/lex.o.

===================================================================
Index: treelang/Make-lang.in
--- treelang/Make-lang.in	6 May 2003 09:18:46 -0000	1.20
+++ treelang/Make-lang.in	7 May 2003 21:13:24 -0000
@@ -67,6 +67,8 @@ TREE_EXES = tree1$(exeext)
 treelang-warn = $(LOOSE_WARN) -pedantic -Wno-long-long -Wmissing-prototypes -Wmissing-declarations $(WERROR)
 # bison emits some unused static arrays (yytoknum)
 treelang/parse.o-warn = -Wno-error
+# flex produces 'no previous prototype' warnings
+treelang/lex.o-warn = -Wno-error
 
 #
 # Define the names for selecting treelang in LANGUAGES.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]