Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 18:40:42 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        David Wolfskill <david@catwhisker.org>, obrien@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: readline.h 1.12 incompatible with gdb.291/gdb/top.c 1.2, I think
Message-ID:  <20010413184042.A35963@nagual.pp.ru>
In-Reply-To: <200104131427.f3DERr872059@bunrab.catwhisker.org>; from david@catwhisker.org on Fri, Apr 13, 2001 at 07:27:53AM -0700
References:  <200104131427.f3DERr872059@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 13, 2001 at 07:27:53 -0700, David Wolfskill wrote:

Yes. Backward-compatible prototypes was enabled very recently
to help old applications. I didn't expect it break gdb compilation again
:-(

David, please remove offending prototype from top.c

> Others have mentioned that world appears broken on -current; happened
> to me as well, and it appears that r1.12 of libreadline/readline.h has
> exposed a definition of filename_completion_function() that conflicts
> with the one in gdb.291/gdb/top.c:
> 
> src/contrib/libreadline/readline.h  2001/04/12 17:18:46     1.12:
> 419: extern char *filename_completion_function __P((const char *, int));
> 
> src/contrib/gdb.291/gdb/top.c  1999/08/20 02:58:16    1.2:
> 1540:   extern char *filename_completion_function PARAMS ((char *, int));
> 
> 
> Tail end of failing part of "make buildworld":
> 
> cc -O -pipe  -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/gdb/i386 -I/usr/src/gnu/usr.bin/binutils/gdb -I/usr/src/gnu/usr.bin/binutils/gdb/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/binutils/include -Dprint_insn_i386=print_insn_i386_att -I/usr/src/gnu/usr.bin/binutils/gdb/i386 -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/binutils/binutils -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/binutils/bfd -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/config -DFREEBSD_ELF -I/usr/src/gnu/usr.bin/binutils/gdb -I/usr/obj/usr/src/i386/usr/include/readline -DNO_MMALLOC   -I/usr/obj/usr/src/i386/usr/include -c /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/top.c
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/top.c: In function `filename_completer':
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/top.c:1540: conflicting types for `filename_completion_function'
> /usr/obj/usr/src/i386/usr/include/readline/readline.h:419: previous declaration of `filename_completion_function'
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/top.c:1540: warning: extern declaration of `filename_completion_function' doesn't match global one
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/top.c: In function `init_main':
> /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/top.c:3467: warning: assignment from incompatible pointer type
> *** Error code 1
> 
> Stop in /usr/src/gnu/usr.bin/binutils/gdb.
> *** Error code 1
> 
> 
> Recent CVSups done:
> 
> CVSup started from cvsup14.freebsd.org at Thu Apr 12 03:47:00 PDT 2001
> CVSup ended from cvsup14.freebsd.org at Thu Apr 12 03:53:13 PDT 2001
> CVSup started from cvsup14.freebsd.org at Fri Apr 13 03:47:01 PDT 2001
> CVSup ended from cvsup14.freebsd.org at Fri Apr 13 03:52:01 PDT 2001
> 
> (and I haven't seen any other activity involving src/contrib since).
> 
> Hope this is useful,
> david
> -- 
> David H. Wolfskill				david@catwhisker.org
> As a computing professional, I believe it would be unethical for me to
> advise, recommend, or support the use (save possibly for personal
> amusement) of any product that is or depends on any Microsoft product.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010413184042.A35963>