{"action":"closed","issue":{"url":"https://api.github.com/repos/bagder/curl/issues/298","labels_url":"https://api.github.com/repos/bagder/curl/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/bagder/curl/issues/298/comments","events_url":"https://api.github.com/repos/bagder/curl/issues/298/events","html_url":"https://github.com/bagder/curl/issues/298","id":83335122,"number":298,"title":"Using nghttp2 Compile error ","user":{"login":"stdying","id":1780854,"avatar_url":"https://avatars.githubusercontent.com/u/1780854?v=3","gravatar_id":"","url":"https://api.github.com/users/stdying","html_url":"https://github.com/stdying","followers_url":"https://api.github.com/users/stdying/followers","following_url":"https://api.github.com/users/stdying/following{/other_user}","gists_url":"https://api.github.com/users/stdying/gists{/gist_id}","starred_url":"https://api.github.com/users/stdying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stdying/subscriptions","organizations_url":"https://api.github.com/users/stdying/orgs","repos_url":"https://api.github.com/users/stdying/repos","events_url":"https://api.github.com/users/stdying/events{/privacy}","received_events_url":"https://api.github.com/users/stdying/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bagder/curl/labels/build","name":"build","color":"bfdadc"},{"url":"https://api.github.com/repos/bagder/curl/labels/HTTP/2","name":"HTTP/2","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"bagder","id":177011,"avatar_url":"https://avatars.githubusercontent.com/u/177011?v=3","gravatar_id":"","url":"https://api.github.com/users/bagder","html_url":"https://github.com/bagder","followers_url":"https://api.github.com/users/bagder/followers","following_url":"https://api.github.com/users/bagder/following{/other_user}","gists_url":"https://api.github.com/users/bagder/gists{/gist_id}","starred_url":"https://api.github.com/users/bagder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bagder/subscriptions","organizations_url":"https://api.github.com/users/bagder/orgs","repos_url":"https://api.github.com/users/bagder/repos","events_url":"https://api.github.com/users/bagder/events{/privacy}","received_events_url":"https://api.github.com/users/bagder/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-06-01T06:05:42Z","updated_at":"2015-06-01T08:25:42Z","closed_at":"2015-06-01T08:25:42Z","body":"http2.c: In function 'Curl_http2_init':\r\nhttp2.c:581:7: warning: passing argument 2 of 'nghttp2_session_callbacks_set_on_invalid_frame_recv_callback' from incompatible pointer type [enabled by default]\r\n       (callbacks, on_invalid_frame_recv);\r\n       ^\r\nIn file included from http2.c:27:0:\r\n/usr/local/include/nghttp2/nghttp2.h:1720:1: note: expected 'nghttp2_on_invalid_frame_recv_callback' but argument is of type 'int (*)(struct nghttp2_session *, const union nghttp2_frame *, uint32_t,  void *)'\r\n nghttp2_session_callbacks_set_on_invalid_frame_recv_callback(\r\n ^\r\nhttp2.c: In function 'Curl_http2_switched':\r\nhttp2.c:1022:6: error: 'NGHTTP2_CLIENT_CONNECTION_PREFACE' undeclared (first use in this function)\r\n      NGHTTP2_CLIENT_CONNECTION_PREFACE,\r\n      ^\r\nhttp2.c:1022:6: note: each undeclared identifier is reported only once for each function it appears in\r\nhttp2.c:1023:6: error: 'NGHTTP2_CLIENT_CONNECTION_PREFACE_LEN' undeclared (first use in this function)\r\n      NGHTTP2_CLIENT_CONNECTION_PREFACE_LEN,\r\n      ^\r\nmake[2]: *** [libcurl_la-http2.lo] error 1\r\n"}}