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: Tim Rühsen
Subject: Re: [libmicrohttpd] 0.9.62 doesn't build on Visual Studio
Date: Mon, 10 Dec 2018 09:53:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

Hi,

instead of keeping all projects at C89, you can also use Visual Studio
with LLVM/Clang or GCC:

https://blogs.msdn.microsoft.com/vcblog/2017/03/07/use-any-c-compiler-with-visual-studio/

I personally don't have any experiences with that (just don't have a MS
Windows license) but know people building C99 OSS on Windows with clang.


Regards, Tim

On 12/8/18 11:32 PM, Jonathan McDougall wrote:
> This commit[1] made a lot of changes to digestauth.c, including using
> a bunch of VLAs, which are not supported in all compilers, one of which
> is Visual Studio.
> 
> If you want to keep supporting Visual Studio, those will have to be
> arrays of constant size, or allocated on the heap.
> 
> [1] 
> https://gnunet.org/git/libmicrohttpd.git/commit/src/microhttpd/digestauth.c?id=bcba3f58c5fc9b4a3776494d3edddceb244ab110
> 

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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