[
https://issues.apache.org/jira/browse/TS-3548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507980#comment-14507980
]
ASF subversion and git services commented on TS-3548:
-----------------------------------------------------
Commit cb2ad69c0a3c3d9d5d9cb2a93f7210a3dda396de in trafficserver's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=cb2ad69 ]
TS-3548: fix psiginfo usage on Illumos
> psiginfo differs on illumos vs. Linux
> -------------------------------------
>
> Key: TS-3548
> URL: https://issues.apache.org/jira/browse/TS-3548
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Eric Sproul
>
> The arguments to psiginfo() are different on illumos platforms such as
> OmniOS. This results in a build error:
> {noformat}
> CXXLD CompileParseRules
> ./CompileParseRules
> CXX ParseRules.lo
> CCLD mkdfa
> signals.cc: In function 'void signal_format_siginfo(int, siginfo_t*, const
> char*)':
> signals.cc:162:21: error: invalid conversion from 'const char*' to 'char*'
> [-fpermissive]
> psiginfo(info, msg);
> ^
> In file included from ink_platform.h:104:0,
> from libts.h:45,
> from signals.cc:29:
> /usr/include/siginfo.h:53:13: error: initializing argument 2 of 'void
> psiginfo(siginfo_t*, char*)' [-fpermissive]
> extern void psiginfo(siginfo_t *, char *);
> ^
> gmake[3]: *** [signals.lo] Error 1
> {noformat}
> This happens with 5.2.1 as well as 5.3.0-rc2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)