Branch: refs/heads/master
Home: https://github.com/xrootd/xrootd
Commit: 3b143432910aeb54d4f769b0b061808a9ddfae03
https://github.com/xrootd/xrootd/commit/3b143432910aeb54d4f769b0b061808a9ddfae03
Author: Mattias Ellert <[log in to unmask]>
Date: 2021-09-04 (Sat, 04 Sep 2021)
Changed paths:
M src/XrdPosix/XrdPosixAdmin.cc
Log Message:
-----------
Work around inconsistent type definitions on MIPS
The st_rdev field in struct stat (which is 32 bits) is not type dev_t
(which is 64 bits)
/<<PKGBUILDDIR>>/src/XrdPosix/XrdPosixAdmin.cc:188:45: error: cannot convert ‘long unsigned int*’ to ‘dev_t*’ {aka ‘long long unsigned int*’}
188 | Stat.st_mode = XrdPosixMap::Flags2Mode(&Stat.st_rdev, sInfo->GetFlags());
| ^~~~~~~~~~~~~
| |
| long unsigned int*
In file included from /<<PKGBUILDDIR>>/src/XrdPosix/XrdPosixAdmin.cc:38:
/<<PKGBUILDDIR>>/src/./XrdPosix/XrdPosixMap.hh:43:46: note: initializing argument 1 of ‘static mode_t XrdPosixMap::Flags2Mode(dev_t*, uint32_t)’
43 | static mode_t Flags2Mode(dev_t *rdv, uint32_t flags);
| ~~~~~~~^~~
make[4]: *** [src/CMakeFiles/XrdPosix.dir/build.make:85: src/CMakeFiles/XrdPosix.dir/XrdPosix/XrdPosixAdmin.cc.o] Error 1
Commit: aab9aed1115e16ea4b5b72c20da9f446adeafd91
https://github.com/xrootd/xrootd/commit/aab9aed1115e16ea4b5b72c20da9f446adeafd91
Author: simonmichal <[log in to unmask]>
Date: 2021-09-15 (Wed, 15 Sep 2021)
Changed paths:
M src/XrdPosix/XrdPosixAdmin.cc
Log Message:
-----------
Merge pull request #1504 from ellert/st_rdev-mipsel-inconsistent
Work around inconsistent type definitions on MIPS
Compare: https://github.com/xrootd/xrootd/compare/288aa075688f...aab9aed1115e
########################################################################
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
|