From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20886 invoked by alias); 4 Oct 2004 19:03:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20877 invoked from network); 4 Oct 2004 19:02:59 -0000 Received: from unknown (HELO walton.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 4 Oct 2004 19:02:59 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by walton.sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id i94J2ie1022103; Mon, 4 Oct 2004 21:02:44 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id i94J2iMa001445; Mon, 4 Oct 2004 21:02:44 +0200 (CEST) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id i94J2idM001442; Mon, 4 Oct 2004 21:02:44 +0200 (CEST) Date: Mon, 04 Oct 2004 19:03:00 -0000 Message-Id: <200410041902.i94J2idM001442@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: hilfingr@EECS.Berkeley.EDU CC: brobecker@gnat.com, gdb-patches@sources.redhat.com In-reply-to: <200410041830.i94IUHEF024030@tully.CS.Berkeley.EDU> (message from Paul Hilfinger on Mon, 04 Oct 2004 11:30:17 -0700) Subject: Re: [commit]: Turn on initial Ada support References: <200410041830.i94IUHEF024030@tully.CS.Berkeley.EDU> X-SW-Source: 2004-10/txt/msg00063.txt.bz2 Date: Mon, 04 Oct 2004 11:30:17 -0700 From: Paul Hilfinger > > /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