On 9/20/24 9:09 AM, Dr. Werner Fink wrote:
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.

readline.h doesn't include any undeclared functions, so it seems like this
would be an application problem.

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.

You mean instead of including <stdio.h> before <readline.h>?


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

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to