Sancho McCann created THRIFT-2575:
-------------------------------------
Summary: 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)