Subject: bin/30500: new readline.h and old gdb53/defs.h confict for tilde_expand()
To: None <,>
From: None <>
List: netbsd-bugs
Date: 06/11/2005 16:13:01
>Number:         30500
>Category:       bin
>Synopsis:       the new version of readline.h *does* define tilde_expand()
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 11 16:13:01 +0000 2005
>Originator:     Paul Shupak
>Release:        NetBSD 3.99.5
System: NetBSD cobalt 3.99.5 NetBSD 3.99.5 (COBALT-$Revision: 1.4 $) #7: Mon Jun 6 00:13:30 PDT 2005 root@svcs:/sys/arch/i386/compile/COBALT i386
Architecture: i386
Machine: i386
	The new version of readline.h contains a decl. of tilde_expand()
	with a "const char *" argument, but the version in the gdb53
	directory uses a "char *" argument;  This mismatch causes builds
	for -current to fail.
	Try to build -current - in particular gnu/usr.bin/gdb53
	Either change the decl. in gnu/dist/gdb/gdb/defs.h to match readline
	or, since the comment notes that readline.h had been missing a decl
	entrirely, just delete the line(s) in defs.h - either works.