Skip to content

Instantly share code, notes, and snippets.

@alagoutte
Created October 19, 2014 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alagoutte/a6292ab04d0c81d7b11e to your computer and use it in GitHub Desktop.
Save alagoutte/a6292ab04d0c81d7b11e to your computer and use it in GitHub Desktop.
make[3]: Entering directory `/root/nghttp2/lib'
CC nghttp2_session.lo
In file included from nghttp2_session.c:32:0:
nghttp2_session.c: In function 'nghttp2_session_enforce_flow_control_limits':
nghttp2_helper.h:34:32: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
#define nghttp2_min(A, B) ((A) < (B) ? (A) : (B))
^
nghttp2_session.c:1384:10: note: in expansion of macro 'nghttp2_min'
return nghttp2_min(nghttp2_min(nghttp2_min(requested_window_size,
^
nghttp2_helper.h:34:44: error: signed and unsigned type in conditional expression [-Werror=sign-compare]
#define nghttp2_min(A, B) ((A) < (B) ? (A) : (B))
^
nghttp2_session.c:1384:10: note: in expansion of macro 'nghttp2_min'
return nghttp2_min(nghttp2_min(nghttp2_min(requested_window_size,
^
cc1: all warnings being treated as errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment