From: Tom Tromey <tromey@redhat.com>
To: lgustavo@codesourcery.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:15:00 -0000 [thread overview]
Message-ID: <874neex4e2.fsf@fleche.redhat.com> (raw)
In-Reply-To: <5189057B.5070909@codesourcery.com> (Luis Machado's message of "Tue, 07 May 2013 15:45:31 +0200")
>>>>> "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.
Tom
next prev parent reply other threads:[~2013-05-07 14:15 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 [this message]
2013-05-07 14:17 ` Luis Machado
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=874neex4e2.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=lgustavo@codesourcery.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