From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21393 invoked by alias); 7 May 2013 14:15:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 21381 invoked by uid 89); 7 May 2013 14:15:40 -0000 X-Spam-SWARE-Status: No, score=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 07 May 2013 14:15:39 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r47EFZcH020420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 7 May 2013 10:15:35 -0400 Received: from barimba (ovpn-113-163.phx2.redhat.com [10.3.113.163]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r47EFYtK018865 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 7 May 2013 10:15:34 -0400 From: Tom Tromey To: lgustavo@codesourcery.com Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [commit] reimplement AIX shared-lib support (v3) References: <1367850045-26717-1-git-send-email-brobecker@adacore.com> <5189057B.5070909@codesourcery.com> Date: Tue, 07 May 2013 14:15:00 -0000 In-Reply-To: <5189057B.5070909@codesourcery.com> (Luis Machado's message of "Tue, 07 May 2013 15:45:31 +0200") Message-ID: <874neex4e2.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2013-05/txt/msg00218.txt.bz2 >>>>> "Luis" =3D=3D Luis Machado writes: Luis> When trying to build with --enable-targets=3Dall i seem to be falling Luis> into a build error due to a warning. Luis> gdb/solib-aix.c: In function =E2=80=98solib_aix_normal_stop_observer= =E2=80=99: Luis> gdb/solib-aix.c:781:3: error: implicit declaration of function Luis> =E2=80=98solib_aix_free_library_list=E2=80=99 [-Werror=3Dimplicit-fun= ction-declaration] Luis> cc1: all warnings being treated as errors Luis> make[2]: *** [solib-aix.o] Error 1 Luis> The function is only used in solib-aix.c though, so i'm a little Luis> confused. I worked around it (for my purposes) by declaring it in Luis> solib-aix.h. For me the function is static in solib-aix.c, so I don't get a warning. If that is true for you then the error seems like a compiler bug. Tom