From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3878 invoked by alias); 10 Apr 2002 16:50:44 -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 3858 invoked from network); 10 Apr 2002 16:50:42 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 10 Apr 2002 16:50:42 -0000 Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 39EBC1EB0E; Wed, 10 Apr 2002 18:50:42 +0200 (MEST) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: non-mulit-arch compiles probs References: <3CB45339.2010007@cygnus.com> X-Yow: I love FRUIT PICKERS!! From: Andreas Schwab Date: Wed, 10 Apr 2002 09:50:00 -0000 In-Reply-To: <3CB45339.2010007@cygnus.com> (Andrew Cagney's message of "Wed, 10 Apr 2002 10:59:05 -0400") Message-ID: User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-04/txt/msg00403.txt.bz2 Andrew Cagney writes: |> Adding to the fun, I've found an entry for the ``how did this ever |> compile'' category: |> |> exec.c:print_section_info (struct target_ops *t, bfd *abfd) |> maint.c:print_section_info (const char *name, flagword flags, |> |> (one is static, the other has a .h declaration). As long as the extern declaration is not visible while the static definition is compiled, all is well. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."