The latest updates to glibc headers adds __nonnull to the fclose() Declaration in old version: extern int fclose (FILE *__stream); Declaration in new version: extern int fclose (FILE *__stream) __nonnull ((1)); This change causes a compilation error in xrootd: ~~~ /builddir/build/BUILD/xrootd-5.5.5/src/XrdTls/XrdTlsTempCA.cc:54:48: error: ignoring attributes on template argument 'int (*)(FILE*)' [-Werror=ignored-attributes] 54 | typedef std::unique_ptr<FILE, decltype(&fclose)> file_smart_ptr; | ^ ~~~ This commit rewrites the code so the error is not triggered. You can view, comment on, or merge this pull request online at: https://github.com/xrootd/xrootd/pull/2012 -- Commit Summary -- * The latest updates to glibc headers adds __nonnull to the fclose() -- File Changes -- M src/XrdTls/XrdTlsTempCA.cc (11) -- Patch Links -- https://github.com/xrootd/xrootd/pull/2012.patch https://github.com/xrootd/xrootd/pull/2012.diff -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/2012 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## 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