You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2013/04/09 12:40:15 UTC

[jira] [Created] (TS-1806) mgmt/api does not compile on llvm/clang (from trunk)

Igor Galić created TS-1806:
------------------------------

             Summary: mgmt/api does not compile on llvm/clang (from trunk)
                 Key: TS-1806
                 URL: https://issues.apache.org/jira/browse/TS-1806
             Project: Traffic Server
          Issue Type: Bug
          Components: Build, Management API
            Reporter: Igor Galić


{noformat}
Making all in remote
make[3]: Entering directory `/home/igalic/src/asf/trafficserver/mgmt/api/remote'
  CXX    CfgContextImpl.lo
  CXX    CfgContextManager.lo
  CXX    CfgContextUtils.lo
../CfgContextUtils.cc:352:70: error: sizeof on pointer operation will return size of 'char *' instead of 'char [4098]' [-Werror,-Wsizeof-array-decay]
      if (pos<sizeof(buf) && (psize = snprintf(buf + pos, sizeof(buf - pos), "%s", delimiter))> 0)
                                                                 ~~~ ^
1 error generated.
{noformat}

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