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: Emmanuel Engelhart
Subject: Re: [libmicrohttpd] Borken API in version 0.97.1?
Date: Wed, 8 Jul 2020 10:41:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 08.07.20 10:32, Christian Grothoff wrote:
> 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.

Your announcement talks about "warnings" and here it breaks at
compilation time. This is the only thing I wonder about. In particular
considering that this is a minor release upgrade.

Emmanuel


-- 
Kiwix - Wikipedia Offline & more
* Web: https://kiwix.org/
* Twitter: https://twitter.com/KiwixOffline
* Wiki: https://wiki.kiwix.org/

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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