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

on some platforms, #include <stdint.h> is necessary to be included in Thrift.h

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.9
    • C++ - Library
    • None
    • Mac OSX 10.6.8 / x86_64 / GCC 4.6.1 for building thrift and server code generated by thrift

    Description

      building server code generated by thrift, I needed to add #include <stdint.h> in main Thrift.h to prevent an "error: uint32_t does not define a type" error. Maybe it does not show on linux, or with earlier GCC.

      Maybe there is a better place than the main Thrift.h for thins #include <stdint.h>

      Attachments

        1. THRIFT-1326.patch
          0.5 kB
          Jake Farrell

        Issue Links

          Activity

            People

              jfarrell Jake Farrell
              philou@philou.ch Philippe STRAUSS
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0.25h
                  0.25h
                  Remaining:
                  Remaining Estimate - 0.25h
                  0.25h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified