On Mon, Mar 31, 2008, Caleb Epstein wrote:

> gdb 6.8-20080328 will not build in openpkg-current:
>
> /openpkg-current/bin/cc -L/openpkg-current/lib -c -O2 -pipe
> -I/openpkg-current/include/ncurses -I/openpkg-current/include   -I.
> -I.././gdb -I.././gdb/config
> -DLOCALEDIR="\"/openpkg-current/share/locale\"" -DHAVE_CONFIG_H
> -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd
> -I.././gdb/../bfd -I.././gdb/../include -I../libdecnumber
> -I.././gdb/../libdecnumber   -DMI_OUT=1 -DTUI=1
> -I/openpkg-current/include -I/openpkg-current/include -Wall
> -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
> -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror
> remote.c
> cc1: warnings being treated as errors
> remote.c: In function 'extended_remote_attach_1':
> remote.c:2859: warning: format '%x' expects type 'unsigned int', but
> argument 3 has type 'pid_t'

The warning would be effectively harmless, but because of the -Werror
it is treated as an error and hence the build fails. I think we should
remove -Werror. Now applied. Just retry with latest package version.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org
  • gdb breakage Caleb Epstein
    • Re: gdb breakage Ralf S. Engelschall

Reply via email to