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 [email protected] http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature
