Title: [BUG] Build is broken with libmicrohttpd => 0.9.71 · Issue #198 · etr/libhttpserver · GitHub
Open Graph Title: [BUG] Build is broken with libmicrohttpd => 0.9.71 · Issue #198 · etr/libhttpserver
X Title: [BUG] Build is broken with libmicrohttpd => 0.9.71 · Issue #198 · etr/libhttpserver
Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description Build is broken with libmicrohttpd => 0.9...
Open Graph Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description B...
X Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues D...
Opengraph URL: https://github.com/etr/libhttpserver/issues/198
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Build is broken with libmicrohttpd =\u003e 0.9.71","articleBody":"\u003c!--\r\n\r\nHave you read Atom's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/etr/libhttpserver/blob/master/CODE_OF_CONDUCT.md\r\n\r\nDo you want to ask a question? Are you looking for support? Our message board is the best place for getting support: https://gitter.im/libhttpserver/community\r\n\r\n--\u003e\r\n\r\n### Prerequisites\r\n\r\n* [X] Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=\u0026q=repo%3Aetr%2Flibhttpserver\u0026type=Issues\r\n\r\n### Description\r\n\r\nBuild is broken with libmicrohttpd =\u003e 0.9.71 due to upstream change:\r\nhttps://lists.gnu.org/archive/html/libmicrohttpd/2020-06/msg00013.html\r\n```\r\nFurthermore, the release introduces an 'enum MHD_Result' instead of\r\n#defines for MHD_YES/MHD_NO. This is intended to make it easier to check\r\nfor certain API misuse bugs by providing better types (not everything is\r\nan 'int'). While this does NOT change the binary API, this change\r\n_will_ cause compiler warnings for all legacy code -- until 'int' is\r\nreplaced with 'enum MHD_Result'.\r\n```\r\n\r\n### Steps to Reproduce\r\n\r\n1. Build with libmicrohttpd =\u003e 0.9.71\r\n\r\n**Expected behavior:** Build finishes without errors.\r\n\r\n**Actual behavior:** Build is broken\r\n\r\n**Reproduces how often:** 100%\r\n\r\n### Versions\r\n\r\n* OS version (linux - cross-compiled using buildroot)\r\n* libhttpserver version 0.18.1\r\n* libmicrohttpd version 0.9.71 - self-compiled\r\n\r\nIf you have problems during build:\r\n* Compiler version\r\ngcc version 8.3.0 (Buildroot 2020.02) \r\n* autotools version\r\n2.69\r\n\r\n### Additional Information\r\n```\r\nhttp_request.cpp: In member function 'const std::map\u003cstd::__cxx11::basic_string\u003cchar\u003e, std::__cxx11::basic_string\u003cchar\u003e, httpserver::http::header_comparator\u003e httpserver::http_request::get_headerlike_values(MHD_ValueKind) const':\r\nhttp_request.cpp:110:9: error: invalid conversion from 'int (*)(void*, MHD_ValueKind, const char*, const char*)' to 'MHD_KeyValueIterator' {aka 'MHD_Result (*)(void*, MHD_ValueKind, const char*, const char*)'} [-fpermissive]\r\n```","author":{"url":"https://github.com/bkuhls","@type":"Person","name":"bkuhls"},"datePublished":"2020-07-05T10:00:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/198/libhttpserver/issues/198"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:cd2c64fb-301a-b04a-4c5b-4a3d918c817e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E988:2A736A:1E4F3B5:2894D81:6A53716A |
| html-safe-nonce | 68f2944739b64e90600b8bc3d5ad80129996823f15c3a731c16a206bf9bd4b6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTg4OjJBNzM2QToxRTRGM0I1OjI4OTREODE6NkE1MzcxNkEiLCJ2aXNpdG9yX2lkIjoiMjIzMTIyNjE2MTkxMjA1MDAyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bbbf6e25e1eb9f0ed275f6fae0753f2dda3d5648b84032ac8a2257e48b85cabb |
| hovercard-subject-tag | issue:651039108 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/etr/libhttpserver/198/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1acc280bc8550c3d12744672cf810a771bd6af29e03040c587a89de2f07feabb/etr/libhttpserver/issues/198 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1acc280bc8550c3d12744672cf810a771bd6af29e03040c587a89de2f07feabb/etr/libhttpserver/issues/198 |
| og:image:alt | Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description B... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bkuhls |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/etr/libhttpserver git https://github.com/etr/libhttpserver.git |
| octolytics-dimension-user_id | 1201536 |
| octolytics-dimension-user_login | etr |
| octolytics-dimension-repository_id | 3416891 |
| octolytics-dimension-repository_nwo | etr/libhttpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3416891 |
| octolytics-dimension-repository_network_root_nwo | etr/libhttpserver |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width