[ 
https://issues.apache.org/jira/browse/THRIFT-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281838#comment-13281838
 ] 

Hudson commented on THRIFT-1585:
--------------------------------

Integrated in Thrift #486 (See [https://builds.apache.org/job/Thrift/486/])
    THRIFT-1585 C++ library fails to build with OS X pthread implementation
Patch: David Nadlinger (Revision 1341990)

     Result = FAILURE
roger : http://svn.apache.org/viewvc/?view=rev&rev=1341990
Files : 
* /thrift/trunk/lib/cpp/src/thrift/concurrency/Thread.h

                
> C++ library fails to build with OS X pthread implementation
> -----------------------------------------------------------
>
>                 Key: THRIFT-1585
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1585
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: OS X 10.7, i686-apple-darwin11-llvm-gcc-4.2 resp. Apple 
> clang version 3.1
>            Reporter: David Nadlinger
>            Assignee: David Nadlinger
>         Attachments: 
> 0001-THRIFT-1585-C-library-fails-to-build-with-OS-X-pthread.patch
>
>
> On OS X, {{pthread_t}} is {{_opaque_pthread_t*}}, but the current 
> implementation assumes that it is implicitly convertible to {{uint64_t}}.
> This yields to:
> {quote}
> src/thrift/server/TNonblockingServer.cpp: In member function 'void 
> apache::thrift::server::TNonblockingIOThread::breakLoop(bool)':
> src/thrift/server/TNonblockingServer.cpp:1433: error: invalid conversion from 
> 'uint64_t' to '_opaque_pthread_t*'
> src/thrift/server/TNonblockingServer.cpp:1433: error:   initializing argument 
> 1 of 'static bool 
> apache::thrift::concurrency::Thread::is_current(_opaque_pthread_t*)'
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to