libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] 0.9.62 doesn't build on Visual Studio


From: Christian Grothoff
Subject: Re: [libmicrohttpd] 0.9.62 doesn't build on Visual Studio
Date: Wed, 12 Dec 2018 11:58:33 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

Well, I've now done the -c89 -pedantic tests myself, and based on that
we're C99 because we use 'long long' (and that's in the API for the
length of files, which is a bit hard to avoid there unless we say moved
to <stdint.h> and used uint64_t, which might cause other troubles and
binary incompatibilities...

Anyway, I've gone over the VLA macros and made them c89 compatible by
making the size check a separate macro.

On 12/12/18 2:04 AM, Jonathan McDougall wrote:
> You're already using VLAs, which were introduced in C99 and made
> optional in C11, so your code _already_ requires at least C99.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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