In file included from /home/ljanyst/Projects/xroot/client/repo/xrootd/src/XrdOfs/XrdOfsTPCAuth.cc:36:
/home/ljanyst/Projects/xroot/client/repo/xrootd/src/./XrdOfs/XrdOfsTPCAuth.hh:39:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
/home/ljanyst/Projects/xroot/client/repo/xrootd/src/XrdOfs/XrdOfsTPC.cc:40:
/home/ljanyst/Projects/xroot/client/repo/xrootd/src/./XrdOfs/XrdOfsTPCAuth.hh:39:17: warning: using directive refers to implicitly-defined namespace 'std'
using namespace std;
                ^
/home/ljanyst/Projects/xroot/client/repo/xrootd/src/XrdPosix/XrdPosixPreload32.cc:491:26: warning: 'memset' call operates on objects of type 'struct statfs' while the size is based on a different type 'struct statfs *' [-Wsizeof-pointer-memaccess]
   memset(buf, 0, sizeof(buf));
          ~~~            ^~~
/home/ljanyst/Projects/xroot/client/repo/xrootd/src/XrdPosix/XrdPosixPreload32.cc:491:26: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
   memset(buf, 0, sizeof(buf));
                         ^~~
/home/ljanyst/Projects/xroot/client/repo/xrootd/src/XrdPosix/XrdPosixPreload32.cc:518:26: warning: 'memset' call operates on objects of type 'struct statvfs' while the size is based on a different type 'struct statvfs *' [-Wsizeof-pointer-memaccess]
   memset(buf, 0, sizeof(buf));
          ~~~            ^~~
/home/ljanyst/Projects/xroot/client/repo/xrootd/src/XrdPosix/XrdPosixPreload32.cc:518:26: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
   memset(buf, 0, sizeof(buf));
                         ^~~


Reply to this email directly or view it on GitHub.



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