[Top][All Lists]

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

Re: [libmicrohttpd] Clang build fails

From: Christian Grothoff
Subject: Re: [libmicrohttpd] Clang build fails
Date: Wed, 21 Feb 2018 10:28:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0


Build issue should be fixed in Git now.

IIRC, our CI (Buildbot) is not (yet) setup to build with clang, but also
it doesn't send out proper notifications on failures in the first place,
so it is right now of limited use.

Help with setting up better CIs would always be welcome, albeit I
personally prefer using our "own" infrastructure (we have machines)
instead of depending on some corporate hosting.  Generally, I would like
to end up with a setup where the entire CI configuration is also in a
Git repo and can be easily collaboratively improved. So if you have time
and energy to make that happen, great ;-)

Happy hacking!


On 02/21/2018 10:17 AM, Tim Rühsen wrote:
> Hi,
> currently, clang can't build latest master. It because of a missing
> prototype for MHD_init() in src/lib/init.c.
> Clang errors at that point while gcc just emits a warning.
> Anyways, this breaks building the dependency chain for Wget2 fuzzing :-(
> Do you make a CI build before pushing to master ? If you want me to help
> to setup a CI on Gitlab, let me know.
> init.c:56:5: warning: implicit declaration of function 'MHD_init' is
> invalid in C99 [-Wimplicit-function-declaration]
>     MHD_init ();
>     ^
> init.c:98:1: error: conflicting types for 'MHD_init'
> MHD_init (void)
> ^
> init.c:56:5: note: previous implicit declaration is here
>     MHD_init ();
>     ^
> 1 warning and 1 error generated.
> With Best Regards, Tim

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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