You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Eric Sproul (JIRA)" <ji...@apache.org> on 2015/04/22 23:32:58 UTC

[jira] [Created] (TS-3548) psiginfo differs on illumos vs. Linux

Eric Sproul created TS-3548:
-------------------------------

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