[Top][All Lists]

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

[libmicrohttpd] Clang build fails

From: Tim Rühsen
Subject: [libmicrohttpd] Clang build fails
Date: Wed, 21 Feb 2018 10:17:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0


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]