This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: fix for compilation error with gcc 3.2.3 (warning treated as error; `funaddr' might be used uninitialized)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Yakov Lerner <iler dot ml at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 14 Feb 2008 11:51:14 -0500
- Subject: Re: fix for compilation error with gcc 3.2.3 (warning treated as error; `funaddr' might be used uninitialized)
- References: <f36b08ee0802140139p64c2004ao3d622456b52da3f2@mail.gmail.com>
On Thu, Feb 14, 2008 at 11:39:03AM +0200, Yakov Lerner wrote:
> Fix for the warning (warning treated as error)
> `funaddr' might be used uninitialized in this function'
> under gcc 3.2.3. I am not sure this is the best way to fix the warning, anyway.
Maybe you should just use --disable-werror? This compiler is almost
five years old, so I don't like the idea of working around its bugs.
--
Daniel Jacobowitz
CodeSourcery