help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnats compiling error


From: Wes Barris
Subject: gnats compiling error
Date: Fri, 9 Mar 2001 16:24:42 -0600

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                                            address@hidden
Network Computing Services, Inc.                           612.626.8090
-----------------------------------------------------------------------
Today's fortune: How many weeks are there in a light year?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]