gdb 6.4 compile error.

Daniel Jacobowitz drow@false.org
Wed Jan 4 15:39:00 GMT 2006


On Wed, Jan 04, 2006 at 07:33:34AM -0800, Eugene wrote:
> I'm getting the following compile error on gcc 4
> (gnu/linux x86) :
> 
> cc1: warnings being treated as errors
> In file included from aout32.c:23:
> aoutx.h: In function 'aout_get_external_symbols':
> aoutx.h:1275: warning: unused variable 'amt'
> make[4]: *** [aout32.lo] Error 1
> 
> I think it's something to do with the -Werror option.
> Can this option be removed from future versions?

Try --disable-werror.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list