You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2019/11/19 19:50:00 UTC

[jira] [Commented] (THRIFT-4734) i64 is not supported in AS3

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

Jens Geyer commented on THRIFT-4734:
------------------------------------

There is no native suppirt for i64 in AS. The protobuf people solved that by adding a helper class. I'd guess we would have to do something similar.

https://github.com/tconkling/protoc-gen-as3/blob/master/as3/com/netease/protobuf/Int64.as

> i64 is not supported in AS3
> ---------------------------
>
>                 Key: THRIFT-4734
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4734
>             Project: Thrift
>          Issue Type: Bug
>          Components: AS3 - Compiler, AS3 - Library
>    Affects Versions: 0.12.0
>            Reporter: James E. King III
>            Priority: Major
>
> Just tried this, and..
> {noformat}
> jking@ubuntu:~/thrift/test/as3$ ../../compiler/cpp/thrift --gen as3 ../ThriftTest.thrift
> [WARNING:/home/jking/thrift/test/ThriftTest.thrift:45] No generator named 'noexist' could be found!
> [WARNING:/home/jking/thrift/test/ThriftTest.thrift:47] cpp generator does not accept 'noexist' as sub-namespace!
> [FAILURE:generation:1] Error: i64 is not yet supported in as3
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)