Claude wrote:
xvasprintf.c: In function 'xvasprintf':
xvasprintf.c:102:3: error: function might be possible candidate for 'gnu_printf'
format attribute [-Werror=suggest-attribute=format]
if (vasprintf (&result, format, args) < 0)
^
I wouldn't worry about that warning. Either configure without
--with-gcc-warnings or build with 'make WERROR_CFLAGS='.
when compiling with cygwin
CC xstrtol.o
In file included from xstrtol.h:22:0,
from xstrtol.c:31:
./getopt.h:198:8: error: redefinition of 'struct option'
struct option
^
Sounds like your Cygwin configuration is busted somehow. Look in config.log and
see why 'configure' decided that getopt didn't work on your platform.
Aren't these tests on $cross_compiling contradictory in configure ?
if test $cross_compiling = no;
then
if test "$cross_compiling" = yes; then :
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "cannot run test program while cross compiling
See \`config.log' for more details" "$LINENO" 5; }
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
I don't see any contradiction.