libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Introduction fo 'enum MHD_result' with 0.9.71


From: Weber, Peter (Wilken Entire GmbH)
Subject: Re: [libmicrohttpd] Introduction fo 'enum MHD_result' with 0.9.71
Date: Mon, 6 Jul 2020 16:43:52 +0000

On Mon, 2020-07-06 at 18:06 +0200, Christian Grothoff wrote:
> On 7/6/20 5:26 PM, Weber, Peter (Wilken Entire GmbH) wrote:
> > Hello!

Hello :)

> > Actually it is not causing warnings but errors within my projects
> > and I
> > got a little bit scared.
> 
> Hmm. Strange. Which C compiler are you using?

GCC on Linux and CLANG on MacOS, but I'm compiling C++. The "-
fpermissive" option got mad on me.

> Maybe your C compiler
> doesn't quite believe that "enum == int"? Regardless, nothing to be
> scared about -- the transformation should be virtually impossible to
> mess up ;-).
> 
> > The tutorial [1] currently doesn't reflect this change and still
> > uses
> > everywhere 'int' as type. Newbies therefore will have a hard time.
> > Maybe someone can adapt the changes and mention MHD_Result?
> 
> Ah, I just forgot to upload the latest version. Done now.

Thanks :)
Peter

> -Christian
> 

reply via email to

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