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

2014-06-13 Thread Ben Craig (JIRA)

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

Ben Craig commented on THRIFT-2575:
---

This has been fixed in master.

 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)


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

2014-06-13 Thread Sancho McCann (JIRA)

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

Sancho McCann commented on THRIFT-2575:
---

[~ben.craig] Sorry about the repost then! Could you point me to the bug fix in 
the repository?

 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)


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

2014-06-13 Thread Ben Craig (JIRA)

[ 
https://issues.apache.org/jira/browse/THRIFT-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)