GNU bug report logs -
#24311
[PATCH] maint: accommodate LP64 systems
Previous Next
Reported by: Peter Rosin <peda <at> lysator.liu.se>
Date: Fri, 26 Aug 2016 08:43:01 UTC
Severity: normal
Tags: patch
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
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.
This bug report was last modified 8 years and 323 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.