[ 
https://issues.apache.org/jira/browse/THRIFT-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031057#comment-14031057
 ] 

Ben Craig commented on THRIFT-2575:
-----------------------------------

Latest version of the file:
https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/protocol/TProtocol.h

Reported as part of THRIFT-2214

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

Reply via email to