From mboxrd@z Thu Jan 1 00:00:00 1970 From: hop@condat.de To: gnats-gnats@sourceware.cygnus.com Subject: gnats/208: v4: "make all" fails with gcc v3.0 on solaris 8 (2.8) Date: Mon, 02 Jul 2001 08:04:00 -0000 Message-id: <20010702150317.2726.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q3/msg00000.html List-Id: >Number: 208 >Category: gnats >Synopsis: v4: "make all" fails with gcc v3.0 on solaris 8 (2.8) >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Jul 02 08:04:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: hop >Release: unknown-1.0 >Organization: >Environment: Solaris 8 with gcc 3.0 current gnats v4 cvs >Description: a "make all" fails with for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \ for g in asprintf.o mkstemps.o setenv.o sigsetmask.o vasprintf.o ; do \ case "$g" in \ *$f*) echo $g >> needed-list ;; \ esac; \ done; \ done echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o floatformat.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o > required-list gcc -c -I. -I. -I./../include -g -O2 -W -Wall -W -Wall -ansi -pedantic -Werror -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-format -DHAVE_CONFIG_H -DGNATSD_USER_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.access\" -DGNATSD_HOST_ACCESS_FILE=\"/usr/local/etc/gnats/gnatsd.host_access\" -DDEFAULT_GNATS_SERVICE=\"support\" -DGLOBAL_DB_LIST_FILE=\"/usr/local/etc/gnats/databases\" -DGNATS_USER=\"gnats\" edit.c cc1: warnings being treated as errors In file included from index.h:8, from pr.h:55, from field.h:47, from gnats.h:232, from edit.c:21: database.h:39: warning: type qualifiers ignored on function return type In file included from edit.c:21: gnats.h:381: warning: type qualifiers ignored on function return type *** Error code 1 make: Fatal error: Command failed for target `edit.o' Current working directory /tmp/gnats/gnats *** Error code 1 make: Fatal error: Command failed for target `all-gnats' >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: