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

                 Key: THRIFT-1326
                 URL: https://issues.apache.org/jira/browse/THRIFT-1326
             Project: Thrift
          Issue Type: Bug
          Components: C++ - Library
         Environment: Mac OSX 10.6.8 / x86_64 / GCC 4.6.1 for building thrift 
and server code generated by thrift
            Reporter: Philippe STRAUSS
             Fix For: 0.8


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>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to