[
https://issues.apache.org/jira/browse/TS-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15061357#comment-15061357
]
ASF subversion and git services commented on TS-3908:
-----------------------------------------------------
Commit 9fe75036e069f191ed18fb8ac4fd749a49635d87 in trafficserver's branch
refs/heads/master from [~amc]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=9fe7503 ]
TS-3908: Fix clang errors in WCCP.
> Build warning in WCCP
> ---------------------
>
> Key: TS-3908
> URL: https://issues.apache.org/jira/browse/TS-3908
> Project: Traffic Server
> Issue Type: Bug
> Components: WCCP
> Reporter: Leif Hedstrom
> Assignee: Alan M. Carroll
> Fix For: 6.1.0
>
>
> Using latest versions of clang, I get the following warnings and errors, in
> WCCP:
> {code}
> WccpConfig.cc:64:26: error: unused variable 'SVC_PROP_FLAGS'
> [-Werror,-Wunused-const-variable]
> static char const *const SVC_PROP_FLAGS = "flags";
> {code}
> This is obviously easy to fix. The second one is stranger:
> {code}
> Undefined symbols for architecture x86_64:
> "wccp::detail::cache::CacheData::idAddr() const", referenced from:
> wccp::CacheViewComp::fill(wccp::MsgBuffer&,
> wccp::detail::cache::GroupData const&) in libwccp.a(WccpMsg.o)
> wccp::detail::Assignment::fill(wccp::detail::cache::GroupData&,
> unsigned int) in libwccp.a(WccpMsg.o)
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)