You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ben Craig (JIRA)" <ji...@apache.org> on 2014/06/13 21:27:02 UTC

[jira] [Resolved] (THRIFT-2575) Thrift includes siginfo_t within apache::thrift::protocol namespace

     [ https://issues.apache.org/jira/browse/THRIFT-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Craig resolved THRIFT-2575.
-------------------------------

    Resolution: Fixed

> Thrift includes siginfo_t within apache::thrift::protocol namespace
> -------------------------------------------------------------------
>
>                 Key: THRIFT-2575
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2575
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.1
>         Environment: Ubuntu 14.04
>            Reporter: Sancho McCann
>
> #include <thrift/protocol/TProtocol.h>
> #include <sys/wait.h>
> int main(int argc, char** argv) {
>   return 0;
> }
> This code results in siginfo_t (from <signal.h>) being hidden inside the apache::thrift::protocol namespace, resulting in "error: ‘siginfo_t’ has not been declared" when processing sys/waith.h.



--
This message was sent by Atlassian JIRA
(v6.2#6252)