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

System header sys/param.h is included inside the Thrift namespace

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: C++ - Library
    • Labels:
      None

      Description

      #include <sys/param.h> is in apache::thrift::protocol namespace. It causes compilation error when param.h is already included or header is included later.

      see:

      namespace apache { namespace thrift { namespace protocol {

      using apache::thrift::transport::TTransport;

      #ifdef HAVE_SYS_PARAM_H
      #include <sys/param.h>
      #endif

        Attachments

        1. 03-header-files.patch
          0.7 kB
          Vladimir Strisovsky
        2. 03-header-files.patch
          0.7 kB
          Vladimir Strisovsky

          Activity

            People

            • Assignee:
              ben.craig Ben Craig
              Reporter:
              vstrisovsky Vladimir Strisovsky

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment