On Mon, 9 Feb 1998, Brian Helms wrote: >gcc -c -g -O -Wall -fno-strict-prototypes comm.c >cc1: Invalid option `-fno-strict-prototypes' What version of gcc is that? >In file included from comm.c:31: >comm.h:83: conflicting types for `htonl' >/usr/include/machine/endian.h:64: previous declaration of `htonl' >comm.h:95: conflicting types for `ntohl' >/usr/include/machine/endian.h:66: previous declaration of `ntohl' If you re-ran configure that shouldn't happen, what is your conf.h and 'uname -a' output? >comm.c: In function `END_WAR': >comm.c:704: warning: implicit declaration of function `war_info_channel' >comm.c:693: warning: unused variable `count' >comm.c: In function `END_CLAN_WAR': >comm.c:745: warning: implicit declaration of function `clan_victory' >comm.c:735: warning: unused variable `count' >comm.c: In function `CHECK_WAR': >comm.c:784: warning: unused variable `next_ch' Looks like non-stock clan code to me. >comm.c: In function `make_prompt': >comm.c:1259: warning: array subscript has type `char' >comm.c:1262: warning: array subscript has type `char' >comm.c: In function `perform_act': >comm.c:2145: warning: suggest parentheses around && within || >comm.c:2148: warning: suggest parentheses around && within || >comm.c: In function `act': >comm.c:2289: warning: suggest parentheses around && within || >comm.c:2289: warning: suggest parentheses around && within || >comm.c:2224: warning: `to' might be used uninitialized in this function Are those lines the same as stock code and if so, what GCC version? -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST