You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2013/07/01 12:22:21 UTC
[jira] [Created] (TS-1991) clang complaint: logical not is only
applied to the left hand side of this comparison
Igor Galić created TS-1991:
------------------------------
Summary: 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ć
{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