[
https://issues.apache.org/jira/browse/THRIFT-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662602#comment-14662602
]
Hudson commented on THRIFT-3178:
--------------------------------
SUCCESS: Integrated in Thrift #1640 (See
[https://builds.apache.org/job/Thrift/1640/])
THRIFT-3178 glib C does not compile (jensg: rev
4fed1af57013b9115cc2fc56a66fc452a8711c62)
* lib/c_glib/test/ContainerTest.thrift
* lib/c_glib/test/testcontainertest.c
* compiler/cpp/src/generate/t_c_glib_generator.cc
> glib C does not compile
> -----------------------
>
> Key: THRIFT-3178
> URL: https://issues.apache.org/jira/browse/THRIFT-3178
> Project: Thrift
> Issue Type: Bug
> Components: C glib - Compiler, C glib - Library
> Affects Versions: 0.9.2
> Environment: Ubuntu GCC, CGLIB 2 Hypertable
> Reporter: nijx
> Assignee: Simon South
> Labels: Hypertable
> Fix For: 0.9.3
>
>
> Generated glibc files in c compile error
> /home/ubuntu/Downloads/ht_thrf/gen-c_glib/client_service.c: In function
> ‘client_service_client_recv_scanner_get_cells_as_arrays’:
> /home/node/ubuntu/ht_thrf/gen-c_glib/client_service.c:8525:38: warning:
> passing argument 1 of ‘g_ptr_array_add’ from incompatible pointer type
> g_ptr_array_add (_elem119, _elem120);
> ^
> In file included from /usr/include/glib-2.0/glib.h:31:0,
> from /usr/include/glib-2.0/gobject/gbinding.h:28,
> from /usr/include/glib-2.0/glib-object.h:23,
> from
> /opt/hypertable/current/include/thrift/c_glib/transport/thrift_socket.h:23,
> from <command-line>:1:
> /usr/include/glib-2.0/glib/garray.h:168:12: note: expected ‘struct GPtrArray
> *’ but argument is of type ‘struct GPtrArray **’
> void g_ptr_array_add (GPtrArray *array,
> ^
> /home/ubuntu/Downloads/ht_thrf/gen-c_glib/client_service.c: In function
> ‘client_service_client_recv_next_cells_as_arrays’:
> /home/node/Downloads/ht_thrf/gen-c_glib/client_service.c:8771:38: warning:
> passing argument 1 of ‘g_ptr_array_add’ from incompatible pointer type
> g_ptr_array_add (_elem121, _elem122);
> ^
> In file included from /usr/include/glib-2.0/glib.h:31:0,
> from /usr/include/glib-2.0/gobject/gbinding.h:28,
> from /usr/include/glib-2.0/glib-object.h:23,
> from
> /opt/hypertable/current/include/thrift/c_glib/transport/thrift_socket.h:23,
> from <command-line>:1:
> /usr/include/glib-2.0/glib/garray.h:168:12: note: expected ‘struct GPtrArray
> *’ but argument is of type ‘struct GPtrArray **’
> void g_ptr_array_add (GPtrArray *array,
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)