Bug #4261

readline compilation error

Added by Yuki Sonoda over 3 years ago. Updated almost 3 years ago.

[ruby-core:34331]
Status:Closed
Priority:Normal
Assignee:Kouji Takao
Category:-
Target version:1.9.3
ruby -v:ruby 1.9.3dev (2011-01-11 trunk 30447) [i386-darwin9.8.0] Backport:

Description

=begin
r30496 causes compilation error of ext/readline on MacOS X 10.5.

It seems because libedit does not have neither RLPROMPTSTARTIGNORE nor RLPROMPTENDIGNORE.

compiling ../../../../ext/readline/readline.c
../../../../ext/readline/readline.c: In function ‘insertignoreescape’:
../../../../ext/readline/readline.c:166: error: ‘RLPROMPTSTARTIGNORE’ undeclared (first use in this function)
../../../../ext/readline/readline.c:166: error: (Each undeclared identifier is reported only once
../../../../ext/readline/readline.c:166: error: for each function it appears in.)
../../../../ext/readline/readline.c:166: error: ‘RL
PROMPTENDIGNORE’ undeclared (first use in this function)
../../../../ext/readline/readline.c: In function ‘Init_readline’:
../../../../ext/readline/readline.c:1557: warning: assignment from incompatible pointer type
make[1]: *** [readline.o] Error 1
=end

History

#1 Updated by Yuki Sonoda over 3 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30519.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF