Bug#688386: Conflicting declaration of rl_last_func

Michael Tautschnig mt at debian.org
Sat Sep 22 10:36:23 UTC 2012


Package: libterm-readline-gnu-perl
Version: 1.20-2

While compiling your package using our research compiler infrastructure we
noticed that there is a duplicate and conflicting definition of rl_last_func
when compiling Gnu.xs:

/usr/include/readline/readline.h declares:

extern rl_command_func_t *rl_last_func;

Gnu.xs declares:

/* rl_last_func() is defined in rlprivate.h */
extern Function *rl_last_func;

It seems that previous versions of readline would not publicly declare this
variable. For present versions of readline likely the declaration in Gnu.xs
can be dropped (or needs to be renamed).

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120922/9d49ed26/attachment.pgp>


More information about the pkg-perl-maintainers mailing list