Compiler warnings

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 21 Feb 2001 23:05:40 +0100

MIPS compiler warnings and errors from Florin Andrei on Squid-Users

squid-2.4-200102200000

File = GNUregex.c, Line = 3917
  The variable "pdummy" is set but never used.
                unsigned char *pdummy;

File = GNUregex.c, Line = 3918
  The variable "sdummy" is set but never used.
                const char *sdummy;

File = acl.c, Line = 1631
  An enumerated type is mixed with another type.
        allow = A->allow;

File = acl.c, Line = 1687
  An enumerated type is mixed with another type.
                allow = 0;

File = acl.c, Line = 1711
  An enumerated type is mixed with another type.
      aclCheckCallback(checklist, !allow);

File = cache_cf.c, Line = 1004
  The variable "a" is set but never used.
      acl_access *a;

File = cache_manager.c, Line = 52
  A signed bit field has a length of 1 bit.
        int pw_req:1;

File = cache_manager.c, Line = 53
  A signed bit field has a length of 1 bit.
        int atomic:1;

File = client_db.c, Line = 293
  An enumerated type is mixed with another type.
        for (l = 0; l < LOG_TYPE_MAX; l++) {

File = client_side.c, Line = 261
  An enumerated type is mixed with another type.
        err = errorCon(page_id, status);

File = client_side.c, Line = 279
  An enumerated type is mixed with another type.
        http_status status = atoi(result);

File = comm_select.c, Line = 66
  The variable "zero_tv" is set but never used.
  static struct timeval zero_tv;

File = errorpage.c, Line = 504
  The indicated type qualifier is meaningless on cast type.
                strLen(r->urlpath) ? strBuf(r->urlpath) : "/",

File = fqdncache.c, Line = 257
  The variable "j" is set but never used.
      int j;

File = ftp.c, Line = 978
  The indicated type qualifier is meaningless on cast type.
      l = strLen(request->urlpath);

File = ftp.c, Line = 1008
  The indicated type qualifier is meaningless on cast type.
        + strLen(request->urlpath);

File = http.c, Line = 798
  The indicated type qualifier is meaningless on cast type.
            if (strLen(request->urlpath))

File = http.c, Line = 830
  The indicated type qualifier is meaningless on cast type.
        strLen(request->urlpath) ? strBuf(request->urlpath) : "/");

File = HttpStatusLine.c, Line = 98
  An enumerated type is mixed with another type.
      sline->status = atoi(++start);

File = HttpHdrCc.c, Line = 41
  An enumerated type is mixed with another type.
      {"public", CC_PUBLIC},

File = HttpHdrCc.c, Line = 42
  An enumerated type is mixed with another type.
      {"private", CC_PRIVATE},

File = HttpHdrCc.c, Line = 43
  An enumerated type is mixed with another type.
      {"no-cache", CC_NO_CACHE},

File = HttpHdrCc.c, Line = 44
  An enumerated type is mixed with another type.
      {"no-store", CC_NO_STORE},

File = HttpHdrCc.c, Line = 45
  An enumerated type is mixed with another type.
      {"no-transform", CC_NO_TRANSFORM},

File = HttpHdrCc.c, Line = 46
  An enumerated type is mixed with another type.
      {"must-revalidate", CC_MUST_REVALIDATE},

File = HttpHdrCc.c, Line = 47
  An enumerated type is mixed with another type.
      {"proxy-revalidate", CC_PROXY_REVALIDATE},

File = HttpHdrCc.c, Line = 48
  An enumerated type is mixed with another type.
      {"only-if-cached", CC_ONLY_IF_CACHED},

File = HttpHdrCc.c, Line = 49
  An enumerated type is mixed with another type.
      {"max-age", CC_MAX_AGE},

File = HttpHdrCc.c, Line = 50
  An enumerated type is mixed with another type.
      {"s-maxage", CC_S_MAXAGE},

File = HttpHdrCc.c, Line = 51
  An enumerated type is mixed with another type.
      {"max-stale", CC_MAX_STALE},

File = HttpHdrCc.c, Line = 52
  An enumerated type is mixed with another type.
      {"Other,", CC_OTHER} /* ',' will protect from matches */

File = HttpHdrCc.c, Line = 184
  An enumerated type is mixed with another type.
      for (flag = 0; flag < CC_ENUM_END; flag++) {

File = HttpHdrCc.c, Line = 247
  An enumerated type is mixed with another type.
      for (c = 0; c < CC_ENUM_END; c++)

File = HttpHeader.c, Line = 555
  The indicated type qualifier is meaningless on cast type.
      hdr->len -= strLen(e->name) + 2 + strLen(e->value) + 2;

File = HttpHeader.c, Line = 555
  The indicated type qualifier is meaningless on cast type.
      hdr->len -= strLen(e->name) + 2 + strLen(e->value) + 2;

File = HttpHeader.c, Line = 578
  The indicated type qualifier is meaningless on cast type.
      hdr->len += strLen(e->name) + 2 + strLen(e->value) + 2;

File = HttpHeader.c, Line = 578
  The indicated type qualifier is meaningless on cast type.
      hdr->len += strLen(e->name) + 2 + strLen(e->value) + 2;

File = HttpHeader.c, Line = 603
  The indicated type qualifier is meaningless on cast type.
      if (!strLen(s))

File = HttpHeader.c, Line = 915
  An enumerated type is mixed with another type.
      e->id = -1;

File = HttpHeader.c, Line = 949
  An enumerated type is mixed with another type.
      e->id = id;

File = HttpHeader.c, Line = 985
  The indicated type qualifier is meaningless on cast type.
      packerAppend(p, strBuf(e->name), strLen(e->name));

File = HttpHeader.c, Line = 987
  The indicated type qualifier is meaningless on cast type.
      packerAppend(p, strBuf(e->value), strLen(e->value));

File = HttpHeader.c, Line = 1081
  An enumerated type is mixed with another type.
      for (ht = 0; ht < HDR_ENUM_END; ht++) {

File = HttpHeader.c, Line = 1100
  The indicated type qualifier is meaningless on cast type.
        if (name_len >= 0 && name_len != strLen(info[i].name))

File = HttpHeader.c, Line = 1103
  The indicated type qualifier is meaningless on cast type.
                name_len < 0 ? strLen(info[i].name) + 1 : name_len))

File = HttpHeaderTools.c, Line = 60
  An enumerated type is mixed with another type.
        info->id = id;

File = HttpHeaderTools.c, Line = 63
  The indicated type qualifier is meaningless on cast type.
        assert(strLen(info->name));

File = HttpHeaderTools.c, Line = 223
  The indicated type qualifier is meaningless on cast type.
      if (strLen(*str)) {

File = HttpRequest.c, Line = 139
  The indicated type qualifier is meaningless on cast type.
        strLen(req->urlpath) + 1 +

File = ipcache.c, Line = 345
  The variable "n" is set but never used.
      int n;

File = peer_select.c, Line = 548
  An enumerated type is mixed with another type.
      icp_opcode op = header->opcode;

File = snmp_core.c, Line = 537
  The variable "ret" is set but never used.
      int ret;

File = snmp_core.c, Line = 649
  The variable "lastEntry" is set but never used.
      mib_tree_entry *mibTreeEntry = NULL, *lastEntry = NULL;

File = store_dir.c, Line = 366
  The variable "walkers" is set but never used.
      RemovalPolicyWalker **walkers;

File = store_log.c, Line = 81
  The indicated type qualifier is meaningless on cast type.
            strLen(reply->content_type) ? strBuf(reply->content_type) :
"unknown",

File = store_swapmeta.c, Line = 133
  An unsigned integer is being compared to zero.
        if (type < STORE_META_VOID || type > STORE_META_END) {

File = unlinkd.c, Line = 100
  The variable "x" is set but never used.
        int x;

File = urn.c, Line = 45
  A signed bit field has a length of 1 bit.
        int force_menu:1;

File = whois.c, Line = 65
  The indicated type qualifier is meaningless on cast type.
      l = strLen(p->request->urlpath) + 3;

File = client.c, Line = 92
  The variable "opt_put" is set but never used.
      int opt_put = 0;

cc -o cf_gen -n32 -mips4 -IPA -nostdlib -L/usr/lib32 cf_gen.o -L../lib
-lmiscutil -lm -lmalloc
ld32: WARNING 84 : /usr/lib32/libm.so is not used for resolving any
symbol.
./cf_gen cf.data

cc -n32 -mips4 -IPA -nostdlib -L/usr/lib32 -L../../../lib/ -n32 -mips4
-IPA -Ofast -OPT:Olimit=0 -nostdinc -I/usr/include -D_BSD_SIGNALS
-I../../../include -I../../../include -I../../../src/ diskd.o -o diskd
-lmiscutil -lm
ld32: WARNING 84 : /usr/lib32/libm.so is not used for resolving any
symbol.

cc -o client -n32 -mips4 -IPA -nostdlib -L/usr/lib32 client.o -L../lib
-lmiscutil -lm -lmalloc
ld32: WARNING 84 : /usr/lib32/libm.so is not used for resolving any
symbol.

cc -o cachemgr.cgi -n32 -mips4 -IPA -nostdlib -L/usr/lib32 cachemgr.o
-L../lib -lmiscutil -lm -lmalloc
ld32: WARNING 84 : /usr/lib32/libm.so is not used for resolving any
symbol.

cc -o squid -n32 -mips4 -IPA -nostdlib -L/usr/lib32 access_log.o acl.o
asn.o authenticate.o cache_cf.o CacheDigest.o cache_manager.o carp.o
cbdata.o client_db.o client_side.o comm.o comm_select.o debug.o
delay_pools.o disk.o dns_internal.o errorpage.o ETag.o event.o fd.o
filemap.o forward.o fqdncache.o ftp.o globals.o gopher.o helper.o http.o
HttpStatusLine.o HttpHdrCc.o HttpHdrRange.o HttpHdrContRange.o
HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpReply.o
HttpRequest.o icmp.o icp_v2.o icp_v3.o ident.o internal.o ipc.o
ipcache.o logfile.o main.o mem.o MemPool.o MemBuf.o mime.o multicast.o
neighbors.o net_db.o Packer.o pconn.o peer_digest.o peer_select.o pump.o
redirect.o referer.o refresh.o repl_modules.o send-announce.o
snmp_core.o snmp_agent.o ssl.o stat.o StatHist.o String.o stmem.o
store.o store_io.o store_client.o store_digest.o store_dir.o
store_key_md5.o store_log.o store_modules.o store_rebuild.o
store_swapin.o store_swapmeta.o store_swapout.o string_array!
 s.o tools.o unlinkd.o url.o urn.o useragent.o wais.o wccp.o whois.o
fs/diskd.a fs/null.a fs/ufs.a repl/heap.a repl/lru.a -L../lib -lcrypt
-lregex -L../snmplib -lsnmp -lmiscutil -lm -lmalloc
ld32: WARNING 84 : /usr/lib32/libcrypt.so is not used for resolving any
symbol.
ld32: WARNING 84 : /usr/lib32/libsnmp.a is not used for resolving any
symbol.
ld32: WARNING 84 : /usr/lib32/libcrypt.so is not used for resolving any
symbol.
ld32: ERROR 33 : Unresolved text symbol "snmp_var_new" -- 1st
referenced by squid.ipaa00HYJ/8.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "snmp_pdu_create" -- 1st
referenced by squid.ipaa00HYJ/9.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "snmp_free_pdu" -- 1st
referenced by squid.ipaa00HYJ/9.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "snmp_build" -- 1st referenced
by squid.ipaa00HYJ/9.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "snmp_parse" -- 1st referenced
by squid.ipaa00HYJ/9.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "snmp_coexist_V2toV1" -- 1st
referenced by squid.ipaa00HYJ/9.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33 : Unresolved data symbol "snmplib_debug_hook" -- 1st
referenced by squid.ipaa00HYJ/15.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "snmp_var_free" -- 1st
referenced by squid.ipaa00HYJ/17.o.
        Use linker option -v to see when and which objects, archives and
dsos are loaded.
ld32: INFO 152: Output file removed because of error.
Received on Wed Feb 21 2001 - 15:05:21 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:13:34 MST