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?
--