This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
>>>>> "Maciej" == Maciej Stachowiak <mstachow@mit.edu> writes: Maciej> Someone should probably try building with egcs or gcc 2.8 Maciej> as well, one of these might well become the standard Maciej> compiler for building things like Red Hat packages in the Maciej> foreseeable future. guile-core compiles almost warning-less using gcc 2.8.1 on my Solaris 2.5.1 box. Apart from the longjmp ones in eval.c, I get: inet_aton.c:72: warning: no previous prototype for `inet_aton' inet_aton.c: In function `inet_aton': inet_aton.c:95: warning: subscript has type `char' inet_aton.c:100: warning: subscript has type `char' inet_aton.c:102: warning: subscript has type `char' inet_aton.c:124: warning: subscript has type `char' Here's a (minimal :-) patch for the first one. Do we want to worry about the other four (they're only due to Sun's implementation of isascii() using arrays)? Robert === cd /u1/rpluim/guile/guile-core/libguile/ === cvs -d :pserver:anoncvs@egcs.cygnus.com:/egcs/carton/cvsfiles diff -u inet_\ aton.c Index: inet_aton.c =================================================================== RCS file: /egcs/carton/cvsfiles/guile/guile-core/libguile/inet_aton.c,v retrieving revision 1.2 diff -u -r1.2 inet_aton.c --- inet_aton.c 1996/12/09 20:21:47 1.2 +++ inet_aton.c 1998/10/01 12:23:57 @@ -41,6 +41,8 @@ #include <netinet/in.h> #include <arpa/inet.h> +int inet_aton (const char *, struct in_addr *); + #if 0 /* -- Robert Pluim Tel: +33 4 92 96 17 43 Systems Development Engineer Fax: +33 4 92 96 15 32 <URL: mailto:rpluim@baynetworks.com> Bay Networks EMEA, 25 Allee Pierre Ziller, 06560 Valbonne, France