On Wed, Jul 08, 2020 at 08:26:36PM +0200, Steinar H. Gunderson wrote:
> Has libmicrohttpd changed ABI or something? I assume the size of size_t
> hasn't changed :-)
Indeed, they broke the API:
Wed 08 Apr 2020 10:53:01 PM CEST
Introduce `enum MHD_Result` for #MHD_YES/#MHD_NO to avoid using 'int' so
much.
Note that this change WILL cause compiler warnings until (most) MHD
callbacks
in application code change their return type from 'int' to 'enum
MHD_Result'.
That said, avoiding possible confusions of different enums is going to make
the code more robust in the future. For conditional compilation, test
for "MHD_VERSION >= 0x00097002". -CG
“Will cause compiler warnings”, aka errors in C++ and undefined behavior in C...
/* Steinar */
--
Homepage: https://www.sesse.net/