Building 4.1.0 rc1 on Solaris 8 and 9 with gcc 3.3.2

Yngve Svendsen <[email protected]> Thu, 18 Nov 2004 15:09:03 +0100
Newsgroups gmane.comp.bug-tracking.gnats.bugs
Message-ID <[email protected]>
With gcc 3.3.2 on Solaris 8 and 9 (SPARC), I get the same error as with 
2.95.2:

cvs co -r gnats-4_1_0-rc1 gnats
CC=/usr/local/gcc/3.3.2/bin/gcc ./configure
gmake stops with the following:

--------------------------
/usr/local/gcc/3.3.2/bin/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
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