You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/07/13 00:43:49 UTC
[jira] [Updated] (TS-2001) clang complaint in HttpTransact.cc:
logical not is only applied to the left hand side of this comparison
[ https://issues.apache.org/jira/browse/TS-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leif Hedstrom updated TS-2001:
------------------------------
Fix Version/s: 3.3.5
> clang complaint in HttpTransact.cc: logical not is only applied to the left hand side of this comparison
> --------------------------------------------------------------------------------------------------------
>
> Key: TS-2001
> URL: https://issues.apache.org/jira/browse/TS-2001
> Project: Traffic Server
> Issue Type: Bug
> Components: Cleanup
> Reporter: Igor Galić
> Fix For: 3.3.5
>
>
> {code}
> CXX HttpTransact.o
> HttpTransact.cc:5186:9: error: logical not is only applied to the left hand side of this comparison [-Werror,-Wlogical-not-parentheses]
> ! s->client_info.transfer_encoding == CHUNKED_ENCODING) {
> ^ ~~
> HttpTransact.cc:5186:9: note: add parentheses after the '!' to evaluate the comparison first
> ! s->client_info.transfer_encoding == CHUNKED_ENCODING) {
> ^
> ( )
> HttpTransact.cc:5186:9: note: add parentheses around left hand side expression to silence this warning
> ! s->client_info.transfer_encoding == CHUNKED_ENCODING) {
> ^
> ( )
> 1 error generated.
> make[3]: *** [HttpTransact.o] Error 1
> make[3]: Leaving directory `/home/igalic/src/asf/trafficserver/proxy/http'
> {code}
--
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