|
From: | Paul Eggert |
Subject: | [bug-diffutils] bug#24311: bug#24311: bug#24311: bug#24311: [PATCH] maint: accommodate LP64 systems |
Date: | Tue, 30 Aug 2016 07:41:50 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |