Hi Andy,
Here's the build error I told you before (see patch of
src/XrdSsi/XrdSsiSfsConfig.cc):
--------------
[ 90%] [ 91%] Building CXX object
src/CMakeFiles/cmsd.dir/XrdCms/XrdCmsAdmin.cc.o
/home/qserv/src/xrootd/src/XrdSsi/XrdSsiSfsConfig.cc: In member function
'bool XrdSsiSfsConfig::Configure(XrdOucEnv*)':
/home/qserv/src/xrootd/src/XrdSsi/XrdSsiSfsConfig.cc:234:16: error:
'myArgc' may be used uninitialized in this function
[-Werror=maybe-uninitialized]
if (!myArgv || myArgc < 1)
^
Building CXX object
src/CMakeFiles/XrdFileCache-4.dir/XrdFileCache/XrdFileCacheFactory.cc.o
--------------
The build error occur with next cmake command:
--------------
cmake /home/qserv/src/xrootd
-DCMAKE_INSTALL_PREFIX=/home/qserv/src/xrootd/_eupspkg/binary/xrootd/qservSsi-g152d04bad9-dirty
-DENABLE_PERL=FALSE
--------------
Please note that this error doesn't occur using next cmake command
(debug mode):
--------------
cmake /home/qserv/src/xrootd -DCMAKE_BUILD_TYPE=Debug
-DCMAKE_INSTALL_PREFIX=/home/qserv/src/xrootd/_eupspkg/binary/xrootd/qservSsi-g152d04bad9-dirty
--------------
As a reminder, here's a (trivial) patch proposal:
--------------------------
diff --git a/src/XrdSsi/XrdSsiSfsConfig.cc b/src/XrdSsi/XrdSsiSfsConfig.cc
index 3ad7cad..07e175e 100644
--- a/src/XrdSsi/XrdSsiSfsConfig.cc
+++ b/src/XrdSsi/XrdSsiSfsConfig.cc
@@ -210,7 +210,7 @@ bool XrdSsiSfsConfig::Configure(XrdOucEnv *envP)
static char **myArgv, *dfltArgv[] = {0, 0};
XrdOucEnv *xrdEnvP;
const char *tmp;
- int myArgc, NoGo;
+ int myArgc = 0, NoGo;
Thanks,
Fabrice
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1
|