Skip to content

Instantly share code, notes, and snippets.

@nmathewson
Forked from kev009/gist:710891
Created November 23, 2010 01:22
Show Gist options
  • Save nmathewson/711077 to your computer and use it in GitHub Desktop.
Save nmathewson/711077 to your computer and use it in GitHub Desktop.
cc-3970 c99: WARNING File = event.c, Line = 168
conversion from pointer to same-sized integral type (potential portability
problem)
unsigned u = (unsigned) ((ev_uintptr_t) e->ptr);
^
cc-1185 c99: WARNING File = event.c, Line = 937
An enumerated type is mixed with another type.
cfg->require_features = features;
^
cc-3968 c99: WARNING File = buffer.c, Line = 573
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
vec[0].iov_len = CHAIN_SPACE_LEN(chain);
^
cc-3968 c99: WARNING File = buffer.c, Line = 1496
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
remain = chain->buffer_len - chain->misalign - chain->off;
^
cc-3968 c99: WARNING File = buffer.c, Line = 1595
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
chain->misalign);
^
cc-3968 c99: WARNING File = buffer.c, Line = 1785
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
size_t space = CHAIN_SPACE_LEN(chain);
^
cc-3968 c99: WARNING File = buffer.c, Line = 1832
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
avail = CHAIN_SPACE_LEN(chain);
^
cc-3968 c99: WARNING File = buffer.c, Line = 1949
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
size_t avail = CHAIN_SPACE_LEN(chain);
^
cc-3968 c99: WARNING File = buffer.c, Line = 2082
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
ev_ssize_t space = CHAIN_SPACE_LEN(*chainp);
^
cc-1552 c99: WARNING File = buffer.c, Line = 1985
The variable "chain" is set but never used.
struct evbuffer_chain *chain, **chainp;
^
cc-3968 c99: WARNING File = buffer.c, Line = 2550
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
space = CHAIN_SPACE_LEN(chain);
^
cc-3968 c99: WARNING File = buffer.c, Line = 2682
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
void *mapped = mmap(NULL, length + offset, PROT_READ,
^
cc-3968 c99: WARNING File = buffer.c, Line = 2705
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
munmap(mapped, length);
^
cc-3968 c99: WARNING File = buffer.c, Line = 2711
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
chain->buffer_len = length + offset;
^
cc-3968 c99: WARNING File = buffer.c, Line = 2712
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
chain->off = length + offset;
^
cc-3968 c99: WARNING File = buffer.c, Line = 2728
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
evbuffer_drain(outbuf, offset);
^
cc-3968 c99: WARNING File = buffer.c, Line = 2752
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
read = evbuffer_readfile(tmp, fd, length);
^
cc-1185 c99: WARNING File = bufferevent_sock.c, Line = 325
An enumerated type is mixed with another type.
options) < 0) {
^
cc-1552 c99: WARNING File = bufferevent_sock.c, Line = 436
The variable "r" is set but never used.
int r;
^
cc-1185 c99: WARNING File = bufferevent_filter.c, Line = 184
An enumerated type is mixed with another type.
&bufferevent_ops_filter, tmp_options) < 0) {
^
cc-1552 c99: WARNING File = bufferevent_filter.c, Line = 414
The variable "res" is set but never used.
enum bufferevent_filter_result res;
^
cc-1185 c99: WARNING File = bufferevent_pair.c, Line = 98
An enumerated type is mixed with another type.
options)) {
^
cc-3968 c99: WARNING File = evutil.c, Line = 128
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
mem = mm_malloc(st.st_size + 1);
^
cc-3968 c99: WARNING File = evutil.c, Line = 134
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
while ((r = read(fd, mem+read_so_far, st.st_size - read_so_far)) > 0) {
^
cc-1185 c99: WARNING File = devpoll.c, Line = 75
An enumerated type is mixed with another type.
EV_FEATURE_FDS|EV_FEATURE_O1,
^
cc-3968 c99: WARNING File = devpoll.c, Line = 129
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
nfiles = rl.rlim_cur;
^
cc-1185 c99: WARNING File = signal.c, Line = 100
An enumerated type is mixed with another type.
0, 0, 0
^
cc-3968 c99: WARNING File = event_tagging.c, Line = 147
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
ENCODE_INT_INTERNAL(data, number);
^
cc-3968 c99: WARNING File = event_tagging.c, Line = 147
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
ENCODE_INT_INTERNAL(data, number);
^
cc-1107 c99: WARNING File = ./include/event2/http_struct.h, Line = 104
A signed bit field has a length of 1 bit.
int chunked:1, /* a chunked request */
^
cc-1107 c99: WARNING File = ./include/event2/http_struct.h, Line = 105
A signed bit field has a length of 1 bit.
userdone:1; /* the user has sent all data */
^
cc-3970 c99: WARNING File = evdns.c, Line = 638
conversion from pointer to same-sized integral type (potential portability
problem)
(unsigned long) req);
^
cc-1552 c99: WARNING File = evdns.c, Line = 1113
The variable "answers" is set but never used.
u16 trans_id, flags, questions, answers, authority, additional;
^
cc-1552 c99: WARNING File = evdns.c, Line = 1113
The variable "authority" is set but never used.
u16 trans_id, flags, questions, answers, authority, additional;
^
cc-1552 c99: WARNING File = evdns.c, Line = 1113
The variable "additional" is set but never used.
u16 trans_id, flags, questions, answers, authority, additional;
^
cc-3968 c99: WARNING File = evdns.c, Line = 1452
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
return table->labels[i].pos;
^
cc-3968 c99: WARNING File = evdns.c, Line = 1861
implicit conversion of a 64-bit integral type to a smaller integral type
(potential portability problem)
req->response_len = j;
^
cc-3970 c99: WARNING File = evdns.c, Line = 2056
conversion from pointer to same-sized integral type (potential portability
problem)
log(EVDNS_LOG_DEBUG, "Request %lx timed out", (unsigned long) arg);
^
cc-3970 c99: WARNING File = evdns.c, Line = 2141
conversion from pointer to same-sized integral type (potential portability
problem)
"Setting timeout for request %lx", (unsigned long) req);
^
cc-3970 c99: WARNING File = evdns.c, Line = 2145
conversion from pointer to same-sized integral type (potential portability
problem)
(unsigned long) req);
^
cc-1107 c99: WARNING File = ./include/event2/http_struct.h, Line = 104
A signed bit field has a length of 1 bit.
int chunked:1, /* a chunked request */
^
cc-1107 c99: WARNING File = ./include/event2/http_struct.h, Line = 105
A signed bit field has a length of 1 bit.
userdone:1; /* the user has sent all data */
^
cc-1185 c99: WARNING File = evrpc.c, Line = 899
An enumerated type is mixed with another type.
evrpc_reply_done_closure(ctx, hook_res);
^
cc-1552 c99: WARNING File = bufferevent_openssl.c, Line = 991
The variable "r" is set but never used.
int r = 0;
^
cc-1185 c99: WARNING File = bufferevent_openssl.c, Line = 1174
An enumerated type is mixed with another type.
&bufferevent_ops_openssl, tmp_options) < 0)
^
cc-1552 c99: WARNING File = le-proxy.c, Line = 209
The variable "listener" is set but never used.
struct evconnlistener *listener;
^
cc-1552 c99: WARNING File = regress.c, Line = 1418
The variable "len" is set but never used.
int len;
^
cc-1552 c99: WARNING File = regress.c, Line = 1430
The variable "n" is set but never used.
int n, m;
^
cc-1552 c99: WARNING File = regress.c, Line = 1430
The variable "m" is set but never used.
int n, m;
^
cc-1552 c99: WARNING File = regress.c, Line = 689
The variable "total_common_counts" is set but never used.
static int total_common_counts;
^
cc-1107 c99: WARNING File = /usr/nekoware/include/event2/http_struct.h, Line = 104
A signed bit field has a length of 1 bit.
int chunked:1, /* a chunked request */
^
cc-1107 c99: WARNING File = /usr/nekoware/include/event2/http_struct.h, Line = 105
A signed bit field has a length of 1 bit.
userdone:1; /* the user has sent all data */
^
cc-1107 c99: WARNING File = regress_http.c, Line = 2533
A signed bit field has a length of 1 bit.
int gotclosecb: 1;
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1208
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1225
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1236
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1250
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1270
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1291
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1312
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-3970 c99: WARNING File = regress_dns.c, Line = 1333
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(r,==,0);
^
cc-1107 c99: WARNING File = /usr/nekoware/include/event2/http_struct.h, Line = 104
A signed bit field has a length of 1 bit.
int chunked:1, /* a chunked request */
^
cc-1107 c99: WARNING File = /usr/nekoware/include/event2/http_struct.h, Line = 105
A signed bit field has a length of 1 bit.
userdone:1; /* the user has sent all data */
^
cc-1552 c99: WARNING File = regress_et.c, Line = 92
The variable "success" is set but never used.
int success;
^
cc-1552 c99: WARNING File = regress_bufferevent.c, Line = 549
The variable "s" is set but never used.
evutil_socket_t s;
^
cc-1552 c99: WARNING File = regress_util.c, Line = 450
The variable "pid" is set but never used.
pid_t pid;
^
cc-3970 c99: WARNING File = regress_util.c, Line = 713
conversion from pointer to same-sized integral type (potential portability
problem)
iptr = (ev_intptr_t)ptr;
^
cc-3970 c99: WARNING File = regress_util.c, Line = 714
conversion from pointer to same-sized integral type (potential portability
problem)
uptr = (ev_uintptr_t)ptr;
^
cc-3970 c99: WARNING File = regress_util.c, Line = 968
conversion from pointer to same-sized integral type (potential portability
problem)
tt_int_op(ai, ==, NULL);
^
cc-1174 c99: WARNING File = regress_util.c, Line = 83
The variable "ipv6_entries" was declared but never referenced.
} ipv6_entries[] = {
^
cc-1185 c99: WARNING File = tinytest.c, Line = 63
An enumerated type is mixed with another type.
static enum outcome cur_test_outcome = 0;
^
cc-1185 c99: WARNING File = tinytest.c, Line = 98
An enumerated type is mixed with another type.
return outcome;
^
cc-1185 c99: WARNING File = tinytest.c, Line = 188
An enumerated type is mixed with another type.
return 0;
^
cc-3604 c99: WARNING File = tinytest.c, Line = 197
missing return statement at end of non-void function "_testcase_run_forked"
}
^
cc-3604 c99: WARNING File = tinytest.c, Line = 246
missing return statement at end of non-void function "testcase_run_one"
}
^
cc-1185 c99: WARNING File = tinytest.c, Line = 372
An enumerated type is mixed with another type.
cur_test_outcome = 0;
^
cc-1515 c99: WARNING File = regress_main.c, Line = 284
A value of type "void *" cannot be assigned to an entity of type
"void (*)(void)".
data->legacy_test_fn = testcase->setup_data;
^
cc-1552 c99: WARNING File = regress_zlib.c, Line = 255
The variable "bev1_orig" is set but never used.
struct bufferevent *bev1=NULL, *bev2=NULL, *bev1_orig, *bev2_orig;
^
cc-1552 c99: WARNING File = regress_zlib.c, Line = 255
The variable "bev2_orig" is set but never used.
struct bufferevent *bev1=NULL, *bev2=NULL, *bev1_orig, *bev2_orig;
^
cc-1185 c99: WARNING File = regress_ssl.c, Line = 245
An enumerated type is mixed with another type.
base, fd_pair[0], ssl1, state1, flags);
^
cc-1185 c99: WARNING File = regress_ssl.c, Line = 247
An enumerated type is mixed with another type.
base, fd_pair[1], ssl2, state2, flags);
^
cc-1185 c99: WARNING File = regress_ssl.c, Line = 250
An enumerated type is mixed with another type.
base, underlying_pair[0], ssl1, state1, flags);
^
cc-1185 c99: WARNING File = regress_ssl.c, Line = 252
An enumerated type is mixed with another type.
base, underlying_pair[1], ssl2, state2, flags);
^
cc-3970 c99: WARNING File = bench.c, Line = 67
conversion from pointer to same-sized integral type (potential portability
problem)
long idx = (long) arg, widx = idx + 1;
^
cc-3970 c99: WARNING File = bench_cascade.c, Line = 65
conversion from pointer to same-sized integral type (potential portability
problem)
long idx = (long) arg;
^
cc-1107 c99: WARNING File = /usr/nekoware/include/event2/http_struct.h, Line = 104
A signed bit field has a length of 1 bit.
int chunked:1, /* a chunked request */
^
cc-1107 c99: WARNING File = /usr/nekoware/include/event2/http_struct.h, Line = 105
A signed bit field has a length of 1 bit.
userdone:1; /* the user has sent all data */
^
ld32: WARNING 84 : /usr/lib32/mips4/libm.so is not used for resolving any symbol.
cc-1552 c99: WARNING File = test-changelist.c, Line = 147
The variable "res" is set but never used.
int res;
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment