I get the following error while trying to compile ROOT: > [I] No git repository info found. Trying to interpret VERSION_INFO > [I] src/XrdVersion.hh successfully generated > .../root-6.16.00.build/XROOTD-prefix/src/XROOTD/src/XrdXrootd/XrdXrootdProtocol.cc: In member function ‘XrdXrootdProtocol XrdXrootdProtocol::operator=(const XrdXrootdProtocol&)’: > .../root-6.16.00.build/XROOTD-prefix/src/XROOTD/src/XrdXrootd/XrdXrootdProtocol.cc:234:12: error: implicitly-declared ‘XrdXrootdProtocol::XrdXrootdProtocol(XrdXrootdProtocol&)’ is deprecated [-Werror=deprecated-copy] > 234 | return *this; > | ^~~~ > .../root-6.16.00.build/XROOTD-prefix/src/XROOTD/src/XrdXrootd/XrdXrootdProtocol.cc:215:19: note: because ‘XrdXrootdProtocol’ has user-provided ‘XrdXrootdProtocol XrdXrootdProtocol::operator=(const XrdXrootdProtocol&)’ > 215 | XrdXrootdProtocol XrdXrootdProtocol::operator =(const XrdXrootdProtocol &rhs) > | ^~~~~~~~~~~~~~~~~ > cc1plus: all warnings being treated as errors > gmake[5]: *** [src/CMakeFiles/XrdServer.dir/XrdXrootd/XrdXrootdProtocol.cc.o] Error 1 > gmake[4]: *** [src/CMakeFiles/XrdServer.dir/all] Error 2 > gmake[3]: *** [all] Error 2 Could you please let me know if there is anything that can be done? Using gcc-9.1.0 to compile it. Has anybody tried to compile Xrootd with this version of gcc? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1000 ######################################################################## 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