Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2575

Thrift includes siginfo_t within apache::thrift::protocol namespace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • C++ - Library
    • None
    • Ubuntu 14.04

    Description

      #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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sanchom Sancho McCann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: