You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2015/12/17 03:40:46 UTC
[jira] [Resolved] (TS-3908) Build warning in WCCP
[ https://issues.apache.org/jira/browse/TS-3908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan M. Carroll resolved TS-3908.
---------------------------------
Resolution: Fixed
The method definitons used {{typedef}} aliases for the method name which apparently gcc will accept but clang won't.
> 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)