This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb 7.3.1 and gdb 7.2 on AIX 6.1
On Oct 24, 2011, at 9:11 AM, Tom Tromey wrote:
>>>>>> "Perry" == Perry Smith <pedzsan@gmail.com> writes:
>
>>> /usr/work/src/gdb-7.2/bfd/bfd.c: In function '_bfd_default_error_handler':
>>> /usr/work/src/gdb-7.2/bfd/bfd.c:710:3: error: value computed is not used
>
> Perry> The same error happens with 7.3.1 and 7.2 (the above snippet is
> Perry> from 7.2).
>
> Perry> Searching the web did not hit anything connected to gdb. The curious
> Perry> thing is that I compiled gdb 7.2 using a previous gcc of 4.2.4.
>
> Warnings change between versions of gcc.
>
> Perry> I notice the message "warnings being treated as errors" which might
> Perry> explain why, looking at the code, I don't see the problem.
>
> Perry> Any suggestions of what is wrong?
>
> Probably nothing is wrong, just gcc being too eager.
> If you just want to build it, don't use -Werror.
Thank you.
For those watching on T.V. at home:
configure --enable-werror=no
but now I have another problem. When I try "make install", I get
the "You need makeinfo" message.
I've fiddled around with it a bit but I'm going to give up and just install
makeinfo and its friends. I'm doing an "out of tree" build. Maybe thats
part of the issue here.
pedz