This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [commit]: Turn on initial Ada support
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: hilfingr at EECS dot Berkeley dot EDU
- Cc: brobecker at gnat dot com, gdb-patches at sources dot redhat dot com
- Date: Mon, 4 Oct 2004 21:02:44 +0200 (CEST)
- Subject: Re: [commit]: Turn on initial Ada support
- References: <200410041830.i94IUHEF024030@tully.CS.Berkeley.EDU>
Date: Mon, 04 Oct 2004 11:30:17 -0700
From: Paul Hilfinger <hilfingr@EECS.Berkeley.EDU>
> > /juw15_0/kettenis/sandbox/gdb/obj/gdb/../../src/gdb/ada-exp.y:636: warning: `string_to_operator' defined but not used
> > ada-lex.c:2529: warning: `yy_flex_realloc' defined but not used
> > ada-lex.c:2016: warning: `yyunput' defined but not used
> >
> > Can you do something about that? I'm using -Werror (as all GDB
> > developers really should) so this breaks the build.
>
> Since this is a generated file, should the warnings be fatal?
> If yes, then I guess we could simply define a dummy function calling
> these two ones.
Probably the safest fix, although I believe recent versions of flex
have options specifically intended to suppress unused static
functions.
Ah yes, but strong_to_operator isn't generated.
Mark