discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep build problem


From: Andreas Höschler
Subject: Re: GNUstep build problem
Date: Fri, 8 Jan 2010 22:21:38 +0100

Hi Fred,


    tar xvf gdb-6.8.tar
    cd gdb-6.8
    ./configure
    make

...
make[2]: Entering directory `/usr/share/src/gdb-6.8/gdb'
gcc -c -g -O2   -I. -I.././gdb -I.././gdb/config
-DLOCALEDIR="\"/usr/local/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 -I./../intl  -DMI_OUT=1 -DTUI=1
-I/usr/local/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'
make[2]: *** [remote.o] Error 1
make[2]: Leaving directory `/usr/share/src/gdb-6.8/gdb'
make[1]: *** [install-gdb] Error 2

This isn't a big deal, you are using -Werror which lets the compiler
treat warnings as errors, but the specific warning you get is rather
harmless. Removing this option from the make file should solve this issue.

Oh, thanks for the hint! But where can I set/remove this option system-wide? Is there a gcc.conf somewhere containing options to be used by gcc?

Thanks,

 Andreas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]