thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-3385) warning: format ‘%lu’ expects ‘long unsigned int’, but has type ‘std::basic_string<char>::size_type {aka unsigned int}
Date Sun, 02 Apr 2017 03:44:42 GMT

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

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

Github user jeking3 commented on the issue:

    https://github.com/apache/thrift/pull/688
  
    @jfarrell this issue has been closed/fixed and the pull request can be closed.


> warning: format ‘%lu’ expects ‘long unsigned int’, but has type ‘std::basic_string<char>::size_type
{aka unsigned int}
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-3385
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3385
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: THRIFT-3385-warning-format-lu-expects-long-unsigned-.patch
>
>
> {{make check}} for C++ produces the following:
> {code}
> src/TestClient.cpp: In function ‘int main(int, char**)’:
> src/TestClient.cpp:486:58: warning: format ‘%lu’ expects argument of type ‘long
unsigned int’, but argument 2 has type ‘std::basic_string<char>::size_type {aka
unsigned int}’ [-Wformat=]
> {code}
> ___
> EDIT: sorry for the noise



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message