From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wes Barris To: gnats-devel@sourceware.cygnus.com Subject: gnats compiling error Date: Fri, 09 Mar 2001 14:25:00 -0000 Message-id: <20010309162442.B79305@us.networkcs.com> X-SW-Source: 2001-q1/msg00046.html I am trying to compile gnats (downloaded using cvs) on a Redhat 7 system. It appears that a string is too long for gcc on Redhat 7: 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/share/gnats/gnatsd.access\" -DGNATSD_HOST_ACCESS_FILE=\"/usr/local/share/gnats/gnatsd.host_access\" -DDEFAULT_GNATS_SERVICE=\"support\" -DGLOBAL_DB_LIST_FILE=\"/usr/local/etc/gnats/databases\" -DGNATS_USER=\"gnats\" ./query-pr.c cc1: warnings being treated as errors ./query-pr.c: In function `usage': ./query-pr.c:948: warning: string length `1617' is greater than the minimum length `509' ISO C89 is required to support make[1]: *** [query-pr.o] Error 1 make[1]: Leaving directory `/home/wes/gnats/gnats' make: *** [all-gnats] Error 2 ----------------------------------------------------------------------- Wes Barris wes@networkcs.com Network Computing Services, Inc. 612.626.8090 ----------------------------------------------------------------------- Today's fortune: How many weeks are there in a light year?