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
!! I've compiled this same program in Debian and Ubuntu without errors,
maybe readline version or distro differences?
Error stops if I include *stdio.h* before readline. I don't think it makes
sense to be that way, and it kinda sucks the fact that I could only find
that my program wouldn't compile in arch after testing it myself.
  • [no subject] Gabriel Guedes
    • Re: Chet Ramey

Reply via email to