From: Luis Machado <lgustavo@codesourcery.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Joel Brobecker <brobecker@adacore.com>, gdb-patches@sourceware.org
Subject: Re: [commit] reimplement AIX shared-lib support (v3)
Date: Tue, 07 May 2013 14:17:00 -0000 [thread overview]
Message-ID: <51890CF4.5090709@codesourcery.com> (raw)
In-Reply-To: <874neex4e2.fsf@fleche.redhat.com>
On 05/07/2013 04:15 PM, Tom Tromey wrote:
>>>>>> "Luis" == Luis Machado <lgustavo@codesourcery.com> writes:
>
> Luis> When trying to build with --enable-targets=all i seem to be falling
> Luis> into a build error due to a warning.
>
> Luis> gdb/solib-aix.c: In function âsolib_aix_normal_stop_observerâ:
> Luis> gdb/solib-aix.c:781:3: error: implicit declaration of function
> Luis> âsolib_aix_free_library_listâ [-Werror=implicit-function-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.
That crossed my mind. I'll try a new build later with a different
compiler to see how it works.
This is GCC 4.7.2 by the way.
next prev parent reply other threads:[~2013-05-07 14:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-06 14:20 Joel Brobecker
2013-05-06 15:13 ` Pedro Alves
2013-05-07 8:42 ` Joel Brobecker
2013-05-07 8:56 ` Pedro Alves
2013-05-07 10:10 ` Joel Brobecker
2013-05-07 10:14 ` Joel Brobecker
2013-05-07 13:45 ` Luis Machado
2013-05-07 14:15 ` Tom Tromey
2013-05-07 14:17 ` Luis Machado [this message]
2013-05-07 14:28 ` Joel Brobecker
2013-05-07 14:31 ` Luis Machado
2013-05-07 14:45 ` Luis Machado
2013-05-08 6:15 ` Joel Brobecker
2013-05-07 15:24 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51890CF4.5090709@codesourcery.com \
--to=lgustavo@codesourcery.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox