bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-readline] include stdio.h?


From: Chet Ramey
Subject: Re: [Bug-readline] include stdio.h?
Date: Fri, 17 May 2013 19:49:01 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

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    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]