[
https://issues.apache.org/jira/browse/THRIFT-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658832#comment-14658832
]
Hudson commented on THRIFT-2832:
--------------------------------
SUCCESS: Integrated in Thrift #1638 (See
[https://builds.apache.org/job/Thrift/1638/])
THRIFT-2832 c_glib: Handle string lists correctly (jensg: rev
54f392b8fd90d53deabbf107565ec92c985d47f5)
* lib/c_glib/test/testcontainertest.c
* lib/c_glib/test/Makefile.am
* lib/c_glib/test/ContainerTest.thrift
* compiler/cpp/src/generate/t_c_glib_generator.cc
> c_glib: Handle string lists correctly
> -------------------------------------
>
> Key: THRIFT-2832
> URL: https://issues.apache.org/jira/browse/THRIFT-2832
> Project: Thrift
> Issue Type: Question
> Components: C glib - Compiler
> Affects Versions: 0.9.2
> Reporter: wuhzj
> Assignee: Simon South
> Priority: Minor
> Fix For: 0.9.3
>
>
> The C (GLib) compiler in its present form will generate incorrect code for
> string lists (i.e. variables of type {{list<string>}}) that are
> - Passed as a parameter to a method,
> - Returned from a method, or
> - Assigned a default value.
> In each case, the issue relates to the compiler not recognizing a string list
> is represented as an instance of GLib's {{GPtrArray}}, instead of {{GArray}}
> used to represent most other types of lists.
> Fixing this will silence a number of compiler warnings when building the
> generated code.
> ----
> I noticed that in latest thrift v0.9.2, the C (GLib) compiler and library to
> add support for implementing servers.
> But in my case, I got some compiling warnings in when compiling the generated
> server side code after upgrade to 0.9.2. Actually, I just use thrift c glib
> in client side, Is it possible to generate the client side code only?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)