Building 4.1.0 rc1 on Solaris 8, 9 and 10 with gcc 2.95.2

Yngve Svendsen <[email protected]> Thu, 18 Nov 2004 14:26:10 +0100
Newsgroups gmane.comp.bug-tracking.gnats.bugs
Message-ID <[email protected]>
Moving on to gcc 2.95.2 on Solaris 8, 9 and 10 (SPARC)

cvs co -r gnats-4_1_0-rc1 gnats
./configure
gmake stops with the following:

--------------------------
gmake[1]: Entering directory 
`/home/ys136781/gnats/gnats-4.1.0rc1/gnats/gnats'
gcc -c -I. -I. -I./../include  -g -O2 -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.user_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 gnats.h:37,
                  from edit.c:21:
../include/libiberty.h:80: warning: function declaration isn't a prototype
In file included from gnats.h:47,
                  from edit.c:21:
../include/getopt.h:116: warning: function declaration isn't a prototype
gmake[1]: *** [edit.o] Error 1
--------------------------

Yngve Svendsen
Gnatsweb maintainer