This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] reimplement AIX shared-lib support (v3)
- From: Tom Tromey <tromey at redhat dot com>
- To: lgustavo at codesourcery dot com
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Tue, 07 May 2013 08:15:33 -0600
- Subject: Re: [commit] reimplement AIX shared-lib support (v3)
- References: <1367850045-26717-1-git-send-email-brobecker at adacore dot com> <5189057B dot 5070909 at codesourcery dot com>
>>>>> "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