Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 07:27:53 -0700 (PDT)
From:      David Wolfskill <david@catwhisker.org>
To:        ache@freebsd.org, current@freebsd.org
Subject:   readline.h 1.12 incompatible with gdb.291/gdb/top.c 1.2, I think
Message-ID:  <200104131427.f3DERr872059@bunrab.catwhisker.org>

next in thread | raw e-mail | index | archive | help
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.

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?200104131427.f3DERr872059>