This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35534] Problem compiling gdb/symtab.c in GDB 6.7.1 using GCC 4.3.0 on Solaris 10
- From: "brian at dessent dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2008 08:58:55 -0000
- Subject: [Bug middle-end/35534] Problem compiling gdb/symtab.c in GDB 6.7.1 using GCC 4.3.0 on Solaris 10
- References: <bug-35534-14305@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from brian at dessent dot net 2008-03-11 08:58 -------
Subject: Re: New: Problem compiling gdb/symtab.c in GDB 6.7.1
using GCC 4.3.0 on Solaris 10
jonathan dot leffler at gmail dot com wrote:
> The fragment in question was 'worked around' by adding the '= 0' to the
> declaration of 'exact' at:
This is really just a warning. It only causes the build to fail because
gdb uses -Werror to turn warnings into errors. You can simply configure
gdb with --disable-werror, there's no need to edit anything.
It should probably be actually fixed at some point (as that's the whole
point of turning warnings into errors, to force attention), but these
kind of things happen fairly often and that's why there's a
--disable-werror.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35534