[
https://issues.apache.org/jira/browse/TS-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13643964#comment-13643964
]
ASF subversion and git services commented on TS-1858:
-----------------------------------------------------
Commit ddce361ffa08306423f200eba9c03b3a171d8679 in branch refs/heads/master
from [~humbedooh]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=ddce361 ]
TS-1858: Fix redefinition of timersub on OmniOS with the ESI plugin.
> Redefinition of timersub on OmniOS with the ESI plugin
> ------------------------------------------------------
>
> Key: TS-1858
> URL: https://issues.apache.org/jira/browse/TS-1858
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins
> Reporter: Daniel Gruno
>
> On OmniOS, timersub is already defined in sys/time.h, but we seem to think
> it's not, since it's a Solaris derived system, and thus we get:
> Making all in esi
> gmake[3]: Entering directory
> `/var/jenkins/workspace/master_omnios_x64/plugins/experimental/esi'
> CXX DocNode.lo
> CXX EsiParser.lo
> CXX EsiGzip.lo
> CXX EsiProcessor.lo
> In file included from lib/EsiProcessor.cc:26:0:
> lib/FailureInfo.h:31:0: error: "timersub" redefined [-Werror]
> /usr/include/sys/time.h:169:0: note: this is the location of the previous
> definition
> cc1plus: all warnings being treated as errors
> gmake[3]: *** [EsiProcessor.lo] Error 1
> This should be fixed by checking for the existence of the definition before
> (re)defining it.
--
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