[
https://issues.apache.org/jira/browse/THRIFT-2832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216374#comment-14216374
]
wuhzj commented on THRIFT-2832:
-------------------------------
The warnings are similar, I just paste one of them here.
The signature of the function multiDelete like bellow, there is a parameter
list<string> includedTable, in the generated c code, includedTable is a
variable with GPtrArray * type, but in the code to do cleanup work, it is
released using g_array_unref(includedTable) but not
g_ptr_array_unref(includedTable), so this cause the below warnings.
TInt multiDelete(1:string tableName, 2:TRow key, 3:TFieldRange fieldRange,
4:list<string> includedTable, 5:TWriteOptions writeOptions)
throws (1:TDurabilityException de,
2:TRequestTimeoutException re,
3:TFaultException fe,
4:TProxyException pe,
5:TIllegalArgumentException iae);
if (includedTable != NULL)
g_array_unref (includedTable);
> Generate thrift c_glib code for client only
> -------------------------------------------
>
> 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
> Priority: Minor
>
> 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)