Print

Print


Hi Fabrizio, 

Yes. You can have a look at this issue:
https://github.com/xrootd/xrootd/issues/245

where the following warning appears:

[ 76%] Building CXX object src/CMakeFiles/XrdHttp-4.dir/XrdHttp/XrdHttpProtocol.cc.o /Users/mato/Development/ROOT/build.v5-34-00-patches/XROOTD-prefix/src/XROOTD/src/XrdHttp/XrdHttpProtocol.cc<http://XrdHttpProtocol.cc>:558:13: warning: taking the absolute value of unsigned type 'bool' has no effect [-Wabsolute-value] 
  if (abs((time(0) - tim) > 600)) { ^ 
/Users/mato/Development/ROOT/build.v5-34-00-patches/XROOTD-prefix/src/XROOTD/src/XrdHttp/XrdHttpProtocol.cc<http://XrdHttpProtocol.cc>:558:13: note: remove the call to 'abs' since unsigned values cannot be negative if (abs((time(0) - tim) > 600)) { ^~~ 1 warning generated.

Cheers,
Elvin

________________________________________
From: Fabrizio Furano
Sent: 29 June 2015 10:38
To: Elvin Alin Sindrilaru; [log in to unmask]
Subject: Re: [xrootd/xrootd] d20a03: XrdHttp: Fix parenthesis mismatch

Hi,

  ... huh strange error. Was the compilation broken under some platform ?

  Thanks
  Fabrizio

On 06/26/2015 05:45 PM, Elvin Sindrilaru wrote:
>    Branch: refs/heads/master
>    Home:   https://github.com/xrootd/xrootd
>    Commit: d20a037e3acf7e83917d1e4ba5ba911085e64b2e
>        https://github.com/xrootd/xrootd/commit/d20a037e3acf7e83917d1e4ba5ba911085e64b2e
>    Author: Elvin Sindrilaru <[log in to unmask]>
>    Date:   2015-06-26 (Fri, 26 Jun 2015)
>
>    Changed paths:
>      M src/XrdHttp/XrdHttpProtocol.cc
>
>    Log Message:
>    -----------
>    XrdHttp: Fix parenthesis mismatch
>
>
>
> ########################################################################
> 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
>

########################################################################
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