Print

Print


readline.h uses the `FILE` datatype from stdio.h, without an #include for that system header. Upstream documents that it is the responsibility of any code using readline.h to include that other header itself, and relies on the fact that it is documented to declare that this is not a bug. Some distros patch their readline.h with this dependent #include, but for maximum portability the READLINE compile-test function should do it.

The xroot4 source files that use readline.h have includes for stdio.h (or cstdio) already.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/652

-- Commit Summary --

  * readline.h requires stdio.h to be compileable

-- File Changes --

    M cmake/FindReadline.cmake (1)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/652.patch
https://github.com/xrootd/xrootd/pull/652.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/652

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1