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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • C++ - Library
    • 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

            ben.craig Ben Craig
            vstrisovsky Vladimir Strisovsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: