This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Results for 2.16.90 20050331 testsuite on sparc-unknown-linux-gnu
- From: Christian Joensson <christian dot joensson at gmail dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Fri, 1 Apr 2005 13:41:08 +0200
- Subject: Re: Results for 2.16.90 20050331 testsuite on sparc-unknown-linux-gnu
- References: <20050331150518.GA21029@u10.j-son.org> <424D29F3.20109@redhat.com>
- Reply-to: Christian Joensson <christian dot joensson at gmail dot com>
On Apr 1, 2005 1:01 PM, Nick Clifton <nickc@redhat.com> wrote:
> Hi Christian,
>
> > Number of warning types:
> > 10 the use of \`???' is dangerous, better use \`???'
>
> Is it just me or is the suggested replacement character format the same
> as the format that your compiler is complaining about ?
>
> > 2 ISO C90 does not support \`???' or type qualifiers in parameter array declarators
>
> Do you have the file names and line numbers for these warnings ?
This is using gcc 4.0... and the warnings are these (using cvs trunk
LAST_UPDATE: Fri Apr 1 11:10:42 UTC 2005)
if [ x"`case '-g -O2 -g -O2 -fno-implicit-templates' in *-fpic* ) echo
-fpic ;; * ) echo -fPIC ;; esac`" != x ]; then \
gcc4 -m32 -c -DHAVE_CONFIG_H -g -O2 -I.
-I/usr/local/src/trunk/src/libiberty/../include -W -Wall -pedantic
`case '-g -O2 -g -O2 -fno-implicit-templates' in *-fpic* ) echo -fpic
;; * ) echo -fPIC ;; esac` /usr/local/src/trunk/src/libiberty/regex.c
-o pic/regex.o; \
else true; fi
In file included from /usr/local/src/trunk/src/libiberty/../include/xregex.h:26,
from /usr/local/src/trunk/src/libiberty/regex.c:191:
/usr/local/src/trunk/src/libiberty/../include/xregex2.h:538: warning:
ISO C90 does not support 'static' or type qualifiers in parameter
array declarators
In file included from /usr/local/src/trunk/src/libiberty/regex.c:636:
/usr/local/src/trunk/src/libiberty/regex.c: In function 'byte_compile_range':
/usr/local/src/trunk/src/libiberty/regex.c:4485: warning: signed and
unsigned type in conditional expression
/usr/local/src/trunk/src/libiberty/regex.c:4495: warning: signed and
unsigned type in conditional expression
/usr/local/src/trunk/src/libiberty/regex.c:4495: warning: signed and
unsigned type in conditional expression
gcc4 -m32 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g
-O2 -o .libs/size size.o bucomm.o version.o filemode.o
../bfd/.libs/libbfd.so
-L/usr/local/src/trunk/objdir-binutils32/libiberty/pic -liberty
../libiberty/libiberty.a -Wl,--rpath -Wl,/usr/local/lib
bucomm.o(.text+0x49c): In function `make_tempname':
/usr/local/src/trunk/src/binutils/bucomm.c:425: warning: the use of
`mktemp' is dangerous, better use `mkstemp'
(and a few identical ones)
--
Cheers,
/ChJ