Skip to content

Fixed complile issues with new versions of libmicrohttpd #2739

Open
morgothaufheroin88 wants to merge 3 commits intofireice-uk:devfrom
morgothaufheroin88:fixedAccesHandlerCallback
Open

Fixed complile issues with new versions of libmicrohttpd #2739
morgothaufheroin88 wants to merge 3 commits intofireice-uk:devfrom
morgothaufheroin88:fixedAccesHandlerCallback

Conversation

@morgothaufheroin88
Copy link

Fixed compile error
error: invalid conversion from ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**)’ {aka ‘int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} to ‘MHD_AccessHandlerCallback’ {aka ‘MHD_Result (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)’} [-fpermissive] 162 | &httpd::req_handler, | ^~~~~~~~~~~~~~~~~~~ | | | int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, size_t*, void**) {aka int (*)(void*, MHD_Connection*, const char*, const char*, const char*, const char*, long unsigned int*, void**)}
This issue occurs when libmicrohttpd version is => 0.9.71.
Read more : https://lists.gnu.org/archive/html/libmicrohttpd/2020-06/msg00013.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant