[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-bugs
Subject:    6.7 build breaks on i686
From:       "Ilya N. Golubev" <gin () mo ! msk ! ru>
Date:       2007-10-15 17:13:36
Message-ID: 536418fghr.fsf () mo ! msk ! ru
[Download RAW message or body]

Version: 6.7

Compiler: gcc (GCC) 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)

System: i686-pc-linux-gnu

While compiling the following file, `-Werror' is passed to compiler.
Still

gdb-6.7/bfd/elf32-i386.c: In function `elf_i386_tls_transition':
gdb-6.7/bfd/elf32-i386.c:1174: warning: duplicate `const'
gdb-6.7/bfd/elf32-i386.c:1174: warning: duplicate `const'
make[4]: *** [elf32-i386.lo] Error 1

Preprocessed code contains the following.

`bfd.h':

typedef const struct reloc_howto_struct reloc_howto_type;

`elf32-i386.c':

      const reloc_howto_type *from, *to;

`reloc_howto_type' appears to be quite generic, the same in all
builds.  So this error warning should occur whenever compiling any
code like that.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic