From owner-freebsd-current Fri Apr 13 7:40:57 2001 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by hub.freebsd.org (Postfix) with ESMTP id CC57537B42C; Fri, 13 Apr 2001 07:40:48 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.11.3/8.11.3) id f3DEeg736058; Fri, 13 Apr 2001 18:40:42 +0400 (MSD) (envelope-from ache) Date: Fri, 13 Apr 2001 18:40:42 +0400 From: "Andrey A. Chernov" To: David Wolfskill , 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> References: <200104131427.f3DERr872059@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200104131427.f3DERr872059@bunrab.catwhisker.org>; from david@catwhisker.org on Fri, Apr 13, 2001 at 07:27:53AM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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