You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/20 12:46:20 UTC

[jira] [Commented] (THRIFT-3844) thrift_protocol cannot compile in 7.0.7

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

ASF GitHub Bot commented on THRIFT-3844:
----------------------------------------

Github user jeking3 commented on the issue:

    https://github.com/apache/thrift/pull/1021
  
    @RobberPhex could you rebase this against master and re-submit to get a build that passes CI tests?


> thrift_protocol cannot compile in 7.0.7
> ---------------------------------------
>
>                 Key: THRIFT-3844
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3844
>             Project: Thrift
>          Issue Type: Bug
>          Components: PHP - Library
>    Affects Versions: 1.0
>         Environment: PHP 7.0.7, x86-64, OS-X 10.11
>            Reporter: Robert Lu
>
> When compile thrift_protocol extension with php7.0.7 in OS X 10.11,
> Report error:
> php_thrift_protocol7.cpp:290:27: error: no member named 'min' in namespace 'std'; did you mean 'fmin'?
> and
> zend_hash.h:168:30: note: candidate function not viable: no known conversion from 'unsigned long *' to 'zend_ulong *' (aka 'unsigned long long *') for 3rd argument
> ZEND_API int   ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosition *pos);
> *And I find someone in github solved this problom, but no one notice it, so I create this issue*



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)