[ https://issues.apache.org/jira/browse/THRIFT-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rowan Kerr updated THRIFT-1071: ------------------------------- Attachment: pthread_t_cast.patch Changed to c style cast as per David's suggestion in THRIFT-151. > SSL/C++: invalid cast breaks build > ---------------------------------- > > Key: THRIFT-1071 > URL: https://issues.apache.org/jira/browse/THRIFT-1071 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Environment: Ubuntu (Thrift CI Server) > https://hudson.apache.org/hudson/job/Thrift > Debian Squeeze > Reporter: Roger Meier > Attachments: pthread_t_cast.patch > > > THRIFT-151 breaks the build on Ubuntu and Debian Squeeze > see https://hudson.apache.org/hudson/job/Thrift/64/console > {code} > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include -I./src > -Wall -g -O2 -MT TSSLSocket.lo -MD -MP -MF .deps/TSSLSocket.Tpo -c > src/transport/TSSLSocket.cpp -fPIC -DPIC -o .libs/TSSLSocket.o > src/transport/TSSLSocket.cpp: In function 'long unsigned int > apache::thrift::transport::callbackThreadID()': > src/transport/TSSLSocket.cpp:481: error: invalid cast from type 'pthread_t' > to type 'long unsigned int' > make[4]: *** [TSSLSocket.lo] Error 1 > {code} -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira