bug-readline
[Top][All Lists]
Advanced

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

Re:


From: Chet Ramey
Subject: Re:
Date: Wed, 27 Dec 2023 13:07:23 -0500
User-agent: Mozilla Thunderbird

On 12/27/23 2:41 AM, Gabriel Guedes wrote:
readline-8.2.007-1
Arch VM
Compiling with: -Wall -Werror -Wextra -lreadline -Iinclude
Including *readline/history.h* and *readline/readline.h*
Compiling the program errors:
*/usr/include/readline/rltypedefs.h:71:29: error: unknown type name 'FILE'
    71 | typedef int rl_getc_func_t (FILE *);
       |                             ^~~~*
And much more errors related to FILE

The readline documentation says to include <stdio.h> before <readline.h>,
and it's always been a requirement.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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