[
https://issues.apache.org/jira/browse/TS-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13707067#comment-13707067
]
ASF subversion and git services commented on TS-2002:
-----------------------------------------------------
Commit a91ed9dbbce9f3aa0915cc2307096dd374c74773 in branch refs/heads/master
from [~i.galic]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=a91ed9d ]
TS-2002: incompatible operand types
clang complaint in Main.cc: incompatible operand types
('char' and 'char *')
I'm still not 100% sure why I'm not simply assigning:
char *rt = (char *) regression_test;
This would probably do the exact same thing as the current logic.
> clang complaint in Main.cc: incompatible operand types ('char' and 'char *')
> -----------------------------------------------------------------------------
>
> Key: TS-2002
> URL: https://issues.apache.org/jira/browse/TS-2002
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Igor Galić
>
> {code}
> CXX Main.o
> Main.cc:1100:53: error: incompatible operand types ('char' and 'char *')
> char *rt = (char *) (regression_test[0] == '\0' ? '\0' : regression_test);
> ^ ~~~~ ~~~~~~~~~~~~~~~
> 1 error generated.
> make[2]: *** [Main.o] Error 1
> make[2]: Leaving directory `/home/igalic/src/asf/trafficserver/proxy'
> {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