Prerequisites
Description
Build is broken with libmicrohttpd => 0.9.71 due to upstream change:
https://lists.gnu.org/archive/html/libmicrohttpd/2020-06/msg00013.html
Furthermore, the release introduces an 'enum MHD_Result' instead of
#defines for MHD_YES/MHD_NO. This is intended to make it easier to check
for certain API misuse bugs by providing better types (not everything is
an 'int'). While this does NOT change the binary API, this change
_will_ cause compiler warnings for all legacy code -- until 'int' is
replaced with 'enum MHD_Result'.
Steps to Reproduce
- Build with libmicrohttpd => 0.9.71
Expected behavior: Build finishes without errors.
Actual behavior: Build is broken
Reproduces how often: 100%
Versions
- OS version (linux - cross-compiled using buildroot)
- libhttpserver version 0.18.1
- libmicrohttpd version 0.9.71 - self-compiled
If you have problems during build:
- Compiler version
gcc version 8.3.0 (Buildroot 2020.02)
- autotools version
2.69
Additional Information
http_request.cpp: In member function 'const std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, httpserver::http::header_comparator> httpserver::http_request::get_headerlike_values(MHD_ValueKind) const':
http_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]
Prerequisites
Description
Build is broken with libmicrohttpd => 0.9.71 due to upstream change:
https://lists.gnu.org/archive/html/libmicrohttpd/2020-06/msg00013.html
Steps to Reproduce
Expected behavior: Build finishes without errors.
Actual behavior: Build is broken
Reproduces how often: 100%
Versions
If you have problems during build:
gcc version 8.3.0 (Buildroot 2020.02)
2.69
Additional Information