Indeed. I forgot to run abi-compliance-checker tool, it reported me shortly
after I send the e-mail. 😅

On Sat, Mar 24, 2018 at 6:07 AM, Christian Grothoff <groth...@gnunet.org>
wrote:

> Changing 'long long' will break ABI compatibility. So this is not
> something you want to do for a mere warning in response to you trying
> out compiler flags to try settings nobody has needed for 20+ years.
>
> On 03/24/2018 04:30 AM, silvioprog wrote:
> > Christian,
> >
> > I'm using the following compilers:
> >
> > 1) clang version 5.0.1-svn325091-1~exp1 (branches/release_50)
> >
> > 2) arm-linux-androideabi-gcc (Linaro GCC 4.7-2014.04-1~dev) 4.7.4
> >
> > 3) gcc (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609
> >
> > clang and arm-linux-androideabi-gcc compiles MHD fine, but gcc raises
> > the following error:
> >
> > [snip]
> > /libmicrohttpd/include/microhttpd.h:277:46: error: ISO C90 does not
> > support ‘long long’ [-Werror=long-long]
> >  #define MHD_UNSIGNED_LONG_LONG unsigned long long
> >                                               ^
> > /libmicrohttpd/include/microhttpd.h:2348:4: note: in expansion of macro
> > ‘MHD_UNSIGNED_LONG_LONG’
> >     MHD_UNSIGNED_LONG_LONG *timeout);
> >     ^
> > cc1: all warnings being treated as errors
> >
> > I fixed it using the attached patch, but I'm not sure if it is the
> > proper way to fix it.
> >
> > WDYT about this change?
> >
> > --
> > Silvio Clécio
>

-- 
Silvio Clécio

Reply via email to