[
https://issues.apache.org/jira/browse/TS-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Peach resolved TS-1806.
-----------------------------
Resolution: Fixed
Fix Version/s: 3.3.2
Assignee: James Peach
Nice catch!
> 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ć
> Assignee: James Peach
> Fix For: 3.3.2
>
>
> {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