[ 
https://issues.apache.org/jira/browse/TS-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699677#comment-13699677
 ] 

ASF subversion and git services commented on TS-1991:
-----------------------------------------------------

Commit d0333c576fb8070967da1df2da31ec833e622e5e in branch refs/heads/master 
from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=d0333c5 ]

TS-1991 clang complaint: logical not is only applied to the left hand
side of this comparison.

                
> clang complaint: logical not is only applied to the left hand side of this 
> comparison
> -------------------------------------------------------------------------------------
>
>                 Key: TS-1991
>                 URL: https://issues.apache.org/jira/browse/TS-1991
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, Configuration
>            Reporter: Igor Galić
>            Assignee: Leif Hedstrom
>             Fix For: 3.3.5
>
>
> {noformat}
>   CXX    IpMapConf.lo
> IpMapConf.cc:60:23: error: logical not is only applied to the left hand side 
> of this comparison [-Werror,-Wlogical-not-parentheses]
>   if (bracketed_p && (! *i < n || ']' != *src)) {
>                       ^    ~
> IpMapConf.cc:60:23: note: add parentheses after the '!' to evaluate the 
> comparison first
>   if (bracketed_p && (! *i < n || ']' != *src)) {
>                       ^
>                         (     )
> IpMapConf.cc:60:23: note: add parentheses around left hand side expression to 
> silence this warning
>   if (bracketed_p && (! *i < n || ']' != *src)) {
>                       ^
>                       (   )
> 1 error generated.
> make[3]: *** [IpMapConf.lo] Error 1
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to