On 5/17/13 5:09 PM, Peter Li wrote:
> Hi, I'm testing the new release of gnucap on FC16 and FC17.
>
> The configure script calls a test_readline.cc function to check for the
> library:
>
> #include <readline/readline.h>
> #include <readline/history.h>
> int main()
> {
> char* line_read = readline("xx");
> add_history(line_read);
> }
>
> This apparently fails because readline.h is missing an include of stdio.h?
The readline documentation notes the requirement to include stdio.h before
readline.h.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline