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/09/28 15:13:20 UTC

[jira] [Commented] (THRIFT-3936) Cannot compile 0.10.0 development tip with VS2013 and earlier (snprintf, uint32_t)

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

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

GitHub user jeking3 opened a pull request:

    https://github.com/apache/thrift/pull/1099

    THRIFT-3936: fix compile error on VS2013 and earlier

    Submitting to replace https://github.com/apache/thrift/pull/1096.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jeking3/thrift defect/THRIFT-3936

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/1099.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1099
    
----

----


> Cannot compile 0.10.0 development tip with VS2013 and earlier (snprintf, uint32_t)
> ----------------------------------------------------------------------------------
>
>                 Key: THRIFT-3936
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3936
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.10.0
>         Environment: Visual Studio 2013, VS2013, Visual Studio 2010, VS2010
>            Reporter: James E. King, III
>            Assignee: James E. King, III
>   Original Estimate: 0.25h
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> A change introduced in July changed some code that won't compile on VS2013:
> https://github.com/apache/thrift/commit/e5176241c325837967a07d6d20e0e9a789fbd107
> snprintf is not available.
> A pull request was submitted for this by someone in the community (thank you!):
> https://github.com/apache/thrift/pull/1096
> I recommended that the fix be done using PlatformSocket.h for abstraction of the platform; I offered to submit a PR to do this.
> In addition I found that with VS2010 I could not compile anything using TApplicationException.h because uint32_t is used within it, but it doesn't include stdlib.h.



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