[
https://issues.apache.org/jira/browse/TS-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom resolved TS-1991.
-------------------------------
Resolution: Fixed
Closing this as fixed, I don't know what clang options triggers this, but it
certainly seemed completely wrong.
> 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