Leif Hedstrom created TS-3908:
---------------------------------

             Summary: 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


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)

Reply via email to