You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Martin Vogt (JIRA)" <ji...@apache.org> on 2012/10/13 11:37:02 UTC

[jira] [Updated] (THRIFT-1730) error: ‘numeric_limits’ is not a member of ‘std’

     [ https://issues.apache.org/jira/browse/THRIFT-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Vogt updated THRIFT-1730:
--------------------------------

    Attachment: limits.patch

limits is missing
                
> error: ‘numeric_limits’ is not a member of ‘std’
> ------------------------------------------------
>
>                 Key: THRIFT-1730
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1730
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: OpenSuSE 11.1
>            Reporter: Martin Vogt
>            Priority: Trivial
>         Attachments: limits.patch
>
>
> Compiler error with current git:
> src/thrift/transport/THttpClient.cpp: In member function ‘virtual void apache::thrift::transport::THttpClient::flush()’:
> src/thrift/transport/THttpClient.cpp:104: error: ‘numeric_limits’ is not a member of ‘std’
> src/thrift/transport/THttpClient.cpp:104: error: expected primary-expression before ‘>’ token
> src/thrift/transport/THttpClient.cpp:104: error: ‘::max’ has not been declared

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira