Patches item #1703270, was opened at 2007-04-18 17:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1703270&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alexander Belopolsky (belopolsky)
Assigned to: Nobody/Anonymous (nobody)
Summary: missing declaration in readline.c

Initial Comment:
If HAVE_RL_COMPLETION_MATCHES is not defined, readline.c code does not define 
completion_matches macro in an apparent hope that completion_matches will be 
linked to a n internal rl function. Attached patch adds the missing extern 
declaration to supress compiler warnings.

Currently gcc complains as follows:

Modules/readline.c:681: warning: implicit declaration of function 
`completion_matches'
Modules/readline.c:681: warning: return makes pointer from integer without a 
cast

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1703270&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to