libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Borken API in version 0.97.1?


From: Christian Grothoff
Subject: Re: [libmicrohttpd] Borken API in version 0.97.1?
Date: Wed, 8 Jul 2020 10:32:49 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 7/8/20 9:39 AM, Emmanuel Engelhart wrote:
> Hi
> 
> It seems the last release 0.97.1 has broken the API:
> * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964495
> * https://github.com/kiwix/kiwix-lib/issues/373
> 
> Is that normal? Are we understanding something wrong?

See the release announcement:
  https://lists.gnu.org/archive/html/libmicrohttpd/2020-06/msg00013.html

Note that 'int' should be 'enum' on a binary level, so the library
remains *binary compatible*, but for C++ compilers and/or compiling C
code without warnings, a very minor adjustment (change return type to
'enum') is needed.

The release announcement also includes a hint for how to make code
compile against both older and newer versions of the API.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]