opensciencegrid / xrootd-multiuser

A filesystem plugin to allow Xrootd write as a different Unix user
Apache License 2.0
2 stars 12 forks source link

Reorder variables to address compiler warning/error #30

Closed jthiltges closed 2 years ago

jthiltges commented 2 years ago
/builddir/build/BUILD/xrootd-multiuser-master/src/XrdChecksum.hh: In constructor 'ChecksumState::ChecksumState(unsigned int)':
/builddir/build/BUILD/xrootd-multiuser-master/src/XrdChecksum.hh:43:14: error: 'ChecksumState::m_cksum' will be initialized after [-Werror=reorder]
     uint32_t m_cksum;
              ^
/builddir/build/BUILD/xrootd-multiuser-master/src/XrdChecksum.hh:42:14: error:   'uint32_t ChecksumState::m_crc32' [-Werror=reorder]
     uint32_t m_crc32;
              ^
/builddir/build/BUILD/xrootd-multiuser-master/src/XrdChecksumCalc.cc:95:1: error:   when initialized here [-Werror=reorder]
 ChecksumState::ChecksumState(unsigned digests)
 ^