[
https://issues.apache.org/jira/browse/TS-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13699668#comment-13699668
]
ASF subversion and git services commented on TS-1991:
-----------------------------------------------------
Commit 82fbf07a8e7cdedf89cf66e49fdd4989435728fe in branch refs/heads/master
from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=82fbf07 ]
TS-1991 Fix formatting first, something exploded in here
> 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ć
> 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