You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, I'm trying to compile NGINX with neverbleed using this patch but getting these warnings.
src/event/neverbleed.c: In function 'expbuf_reserve':
src/event/neverbleed.c:159:15: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
if (extra <= buf->buf + buf->capacity - buf->end)
^
src/event/neverbleed.c:164:48: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
while (buf->buf + buf->capacity - buf->end < extra)
^
src/event/neverbleed.c: In function 'expbuf_write':
src/event/neverbleed.c:245:28: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
while (r != 0 && r >= vecs[vecindex].iov_len) {
^
src/event/neverbleed.c:250:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
vecs[vecindex].iov_base += r;
^
src/event/neverbleed.c: At top level:
src/event/neverbleed.c:353:1: error: missing initializer for field 'size' of 'struct <anonymous>' [-Werror=missing-field-initializers]
} daemon_vars = {{PTHREAD_MUTEX_INITIALIZER}};
^
src/event/neverbleed.c:349:16: note: 'size' declared here
size_t size;
^
src/event/neverbleed.c:353:1: error: missing initializer for field 'nb' of 'struct <anonymous>' [-Werror=missing-field-initializers]
} daemon_vars = {{PTHREAD_MUTEX_INITIALIZER}};
^
src/event/neverbleed.c:352:19: note: 'nb' declared here
neverbleed_t *nb;
The text was updated successfully, but these errors were encountered:
Hey there, I'm trying to compile NGINX with neverbleed using this patch but getting these warnings.
The text was updated successfully, but these errors were encountered: