This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

readline 5.1 question


Hi all,

My application recently started depending on readline 5.1. In Cygwin, I
installed in setup.exe 
  All->Devel->readline, and I have version 5.1-1 as the current.

However, if I compile and run this program,

#include <stdio.h>
#include <readline/readline.h>

main()
{
   printf("%s\n", rl_library_version ? rl_library_version : "0.0");
   exit(0);
}

With this compile line,
  gcc -g rl.c -o rl -lreadline

I get this output,
  5.0

I think this is a bug, but maybe I've misconfigured, any suggestions?

Thanks,
Bob Rossi

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]