From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16411 invoked by alias); 1 Apr 2005 11:41:29 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 15966 invoked from network); 1 Apr 2005 11:41:08 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.205) by sourceware.org with SMTP; 1 Apr 2005 11:41:08 -0000 Received: by wproxy.gmail.com with SMTP id 69so837804wri for ; Fri, 01 Apr 2005 03:41:08 -0800 (PST) Received: by 10.54.105.7 with SMTP id d7mr2649661wrc; Fri, 01 Apr 2005 03:41:08 -0800 (PST) Received: by 10.54.56.3 with HTTP; Fri, 1 Apr 2005 03:41:08 -0800 (PST) Message-ID: <5460e3330504010341758e7bca@mail.gmail.com> Date: Fri, 01 Apr 2005 11:41:00 -0000 From: Christian Joensson Reply-To: Christian Joensson To: Nick Clifton Subject: Re: Results for 2.16.90 20050331 testsuite on sparc-unknown-linux-gnu Cc: binutils In-Reply-To: <424D29F3.20109@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20050331150518.GA21029@u10.j-son.org> <424D29F3.20109@redhat.com> X-SW-Source: 2005-04/txt/msg00024.txt.bz2 On Apr 1, 2005 1:01 PM, Nick Clifton 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