Branch: refs/heads/master
Home: https://github.com/xrootd/xrootd
Commit: 1c5e3d63aab1aa673ebdcec8eb282e835e09e0dc
https://github.com/xrootd/xrootd/commit/1c5e3d63aab1aa673ebdcec8eb282e835e09e0dc
Author: Mattias Ellert <[log in to unmask]>
Date: 2023-05-23 (Tue, 23 May 2023)
Changed paths:
M src/XrdTls/XrdTlsTempCA.cc
Log Message:
-----------
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.
########################################################################
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
|