Closed gdombiak closed 7 years ago
is this backwards compatible with older microhttpd versions?
Hi Justin,
I tested it with:
and it compiles fine with all of them. I've been using this fix since libmicrohttpd-0.9.43 (I think) was released.
The only thing left to fix is this other warning but it does not break the compilation so might tackle it at some future moment:
webserver.cpp:338: warning: the use of
mktemp' is dangerous, better use
mkstemp' or `mkdtemp'
Thanks for helping with the PR. Gaston
I'm using latest version of libmicrohttpd (version 0.9.50) and the following warnings make the compilation fail. I did not want to remove -Werror so instead fixed the code to use newest function. Here are the warnings that this PR fixes.