On 2024/09/19 10:59:15 -0400, Chet Ramey wrote: > On 9/19/24 4:25 AM, Michel Lind wrote: > > Hi, > > > > In Fedora we have been shipping GCC 14 since Fedora 40; it turns out > > that at this moment we can no longer compile against readline since > > including readline.h failed, as FILE is defined in stdio.h and that is > > no longer included by default. > > What does this mean? readline.h has never included stdio.h; it's an > application requirement to do this, and it's documented that way. Are > you saying that gcc pre-14 would implicitly include stdio.h itself?
The problem is that gcc14 does not accept e.g. undeclared functions anymore. In fact I also use ia similar little change to avoid warings before gcc14 and error with gcc14. This for the inclusion of readline.h from standard include path. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
signature.asc
Description: PGP signature