bug-readline
[Top][All Lists]
Advanced

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

[no subject]


From: Gabriel Guedes
Subject:
Date: Wed, 27 Dec 2023 04:41:38 -0300

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.

reply via email to

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