Print

Print


Hi Adrian,

    we build RPMs in TeamCity for this platform and they seem to build fine:

 
https://teamcity-dss.cern.ch:8443/viewType.html?buildTypeId=XRootD_XRootDFedoraStable40x

  What compiler version is this exactly? Can you please run with 
VERBOSE=1 so that we could see the exact commandline?

Cheers,
    Lukasz

ps. please report this kind of stuff via github

On 18.06.2014 18:44, Adrian Sevcenco wrote:
> Hi! I just tried to compile the 4.0.0 (fedora 20 x86_64) and i got this:
>
> [ 70%] Building CXX object
> src/CMakeFiles/XrdXrootd.dir/XrdXrootd/XrdXrootdJob.cc.o
> /home/physics-tools/heplibs/xrootd-4.0.0-src/src/XrdXrootd/XrdXrootdJob.cc:
> In member function ‘void XrdXrootdJob2Do::delClient(XrdXrootdResponse*)’:
> /home/physics-tools/heplibs/xrootd-4.0.0-src/src/XrdXrootd/XrdXrootdJob.cc:261:69:
> error: array subscript is above array bounds [-Werror=array-bounds]
>             {for (j = i+1; j < numClients; j++) Client[i++] = Client[j];
>                                                                       ^
> /home/physics-tools/heplibs/xrootd-4.0.0-src/src/XrdXrootd/XrdXrootdJob.cc:
> In member function ‘int XrdXrootdJob2Do::verClient(int)’:
> /home/physics-tools/heplibs/xrootd-4.0.0-src/src/XrdXrootd/XrdXrootdJob.cc:327:71:
> error: array subscript is above array bounds [-Werror=array-bounds]
>              for (j = i+1; j < numClients; j++,k++) Client[k] = Client[j];
>                                                                         ^
> cc1plus: all warnings being treated as errors
> make[2]: *** [src/CMakeFiles/XrdXrootd.dir/XrdXrootd/XrdXrootdJob.cc.o]
> Error 1
> make[1]: *** [src/CMakeFiles/XrdXrootd.dir/all] Error 2
> make: *** [all] Error 2
>
> Thanks!
> Adrian
>
>
>
> ########################################################################
> Use REPLY-ALL to reply to list
>
> To unsubscribe from the XROOTD-L list, click the following link:
> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1